Skip to content

Commit 96669a6

Browse files
committed
Pass DEBUG flag from env to docker containers (verbose logging)
1 parent caa7571 commit 96669a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ services:
3333
- DB_DATABASE=${DB_NAME:-grafolean}
3434
- DB_USERNAME=${DB_USER:-admin}
3535
- DB_PASSWORD=${DB_PASS:-admin}
36+
- DEBUG=${DEBUG:-false}
3637
restart: always
3738
networks:
3839
- grafolean
@@ -75,6 +76,7 @@ services:
7576
environment:
7677
- NAMED_PIPE_FILENAME=/shared-grafolean/netflow.pipe
7778
- NETFLOW_PORT=2055
79+
- DEBUG=${DEBUG:-false}
7880
ports:
7981
- "${NETFLOW_PORT:-2055}:2055/udp"
8082
restart: always
@@ -102,6 +104,7 @@ services:
102104
- DB_DATABASE=${DB_NAME:-grafolean}
103105
- DB_USERNAME=${DB_USER:-admin}
104106
- DB_PASSWORD=${DB_PASS:-admin}
107+
- DEBUG=${DEBUG:-false}
105108
restart: always
106109
# CAREFUL: NetFlow collector uses the same docker image as bot
107110
# (grafolean/grafolean-netflow-bot), but specifies a different entrypoint:

0 commit comments

Comments
 (0)