move env files to folder env-files

This commit is contained in:
2025-02-02 12:08:59 +02:00
parent 04915ea822
commit 08be33883b
6 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ services:
environment: environment:
GID: "${GID:-1000}" GID: "${GID:-1000}"
env_file: env_file:
- path: ./crowdsec.env - path: ./env-files/crowdsec.env
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- ${DOCKERDIR}/crowdsec/acquis.d:/etc/crowdsec/acquis.d - ${DOCKERDIR}/crowdsec/acquis.d:/etc/crowdsec/acquis.d

View File

@@ -15,4 +15,4 @@ services:
volumes: volumes:
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"
env_file: env_file:
- path: ./socket-proxy.env - path: ./env-files/socket-proxy.env

View File

@@ -4,7 +4,7 @@ services:
container_name: ${BT_CONTAINER_NAME} container_name: ${BT_CONTAINER_NAME}
restart: ${BT_RESTART_POLICY} restart: ${BT_RESTART_POLICY}
env_file: env_file:
- path: ./traefik-bouncer.env - path: ./env-files/traefik-bouncer.env
networks: networks:
- proxy - proxy
security_opt: security_opt: