File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
docker/rootfs/etc/cont-init.d Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/with-contenv bash
2
+ set -e
2
3
3
4
mkdir -p /data/logs
4
- 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
+
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ if hash docker-compose 2>/dev/null; then
18
18
19
19
if [ " $1 " == " -f" ]; then
20
20
echo -e " ${BLUE} ❯ ${YELLOW} Following Backend Container:${RESET} "
21
- docker logs -f npmdev_npm_1
21
+ docker logs -f npm_core
22
22
else
23
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 "
24
+ echo " docker logs -f npm_core "
25
25
fi
26
26
else
27
27
echo -e " ${RED} ❯ docker-compose command is not available${RESET} "
You can’t perform that action at this time.
0 commit comments