We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f3a00c commit f2acb9eCopy full SHA for f2acb9e
docker/rootfs/etc/cont-init.d/01_perms.sh
@@ -1,4 +1,7 @@
1
#!/usr/bin/with-contenv bash
2
+set -e
3
4
mkdir -p /data/logs
-chown -R root:root /data/logs
5
+echo "Changing ownership of /data/logs to $(id -u):$(id -g)"
6
+chown -R "$(id -u):$(id -g)" /data/logs
7
+
scripts/start-dev
@@ -18,10 +18,10 @@ if hash docker-compose 2>/dev/null; then
18
19
if [ "$1" == "-f" ]; then
20
echo -e "${BLUE}❯ ${YELLOW}Following Backend Container:${RESET}"
21
- docker logs -f npmdev_npm_1
+ docker logs -f npm_core
22
else
23
echo -e "${YELLOW}Hint:${RESET} You can follow the output of some of the containers with:"
24
- echo " docker logs -f npmdev_npm_1"
+ echo " docker logs -f npm_core"
25
fi
26
27
echo -e "${RED}❯ docker-compose command is not available${RESET}"
0 commit comments