Set Superset env file relative to docker directory

This commit is contained in:
Mark Veidemanis 2022-10-04 20:30:14 +01:00
parent cc6340acab
commit 34e589aa9c
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 5 additions and 5 deletions

View File

@ -106,7 +106,7 @@ services:
volumes: volumes:
- redis:/data - redis:/data
db: db:
env_file: docker/.env-non-dev env_file: .env-non-dev
image: postgres:10 image: postgres:10
container_name: superset_db container_name: superset_db
restart: unless-stopped restart: unless-stopped
@ -114,7 +114,7 @@ services:
- db_home:/var/lib/postgresql/data - db_home:/var/lib/postgresql/data
superset: superset:
env_file: docker/.env-non-dev env_file: .env-non-dev
image: *superset-image image: *superset-image
container_name: superset_app container_name: superset_app
command: ["/app/docker/docker-bootstrap.sh", "app-gunicorn"] command: ["/app/docker/docker-bootstrap.sh", "app-gunicorn"]
@ -129,7 +129,7 @@ services:
image: *superset-image image: *superset-image
container_name: superset_init container_name: superset_init
command: ["/app/docker/docker-init.sh"] command: ["/app/docker/docker-init.sh"]
env_file: docker/.env-non-dev env_file: .env-non-dev
depends_on: *superset-depends-on depends_on: *superset-depends-on
user: "root" user: "root"
volumes: *superset-volumes volumes: *superset-volumes
@ -138,7 +138,7 @@ services:
image: *superset-image image: *superset-image
container_name: superset_worker container_name: superset_worker
command: ["/app/docker/docker-bootstrap.sh", "worker"] command: ["/app/docker/docker-bootstrap.sh", "worker"]
env_file: docker/.env-non-dev env_file: .env-non-dev
restart: unless-stopped restart: unless-stopped
depends_on: *superset-depends-on depends_on: *superset-depends-on
user: "root" user: "root"
@ -148,7 +148,7 @@ services:
image: *superset-image image: *superset-image
container_name: superset_worker_beat container_name: superset_worker_beat
command: ["/app/docker/docker-bootstrap.sh", "beat"] command: ["/app/docker/docker-bootstrap.sh", "beat"]
env_file: docker/.env-non-dev env_file: .env-non-dev
restart: unless-stopped restart: unless-stopped
depends_on: *superset-depends-on depends_on: *superset-depends-on
user: "root" user: "root"