Use docker extensions for env variables
This commit is contained in:
parent
72f8426f72
commit
858c2c6eb3
3 changed files with 20 additions and 29 deletions
|
|
@ -5,21 +5,11 @@ volumes:
|
|||
static-files:
|
||||
|
||||
services:
|
||||
db:
|
||||
env_file: ./.production.env
|
||||
|
||||
celery:
|
||||
env_file: ./.production.env
|
||||
|
||||
django:
|
||||
env_file: ./.production.env
|
||||
|
||||
nginx:
|
||||
image: nginx:1.23
|
||||
depends_on:
|
||||
django:
|
||||
condition: service_healthy
|
||||
env_file: ./.production.env
|
||||
ports:
|
||||
# Note that --env-file should be used to set these correctly
|
||||
- "${NGINX_HTTP_PORT:-80}:80"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue