Fix up docker-compose

This commit is contained in:
Humberto Rocha 2022-11-19 23:53:38 -05:00 committed by GitHub
parent 36cde270b9
commit fac144cee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 7 deletions

View File

@ -11,20 +11,24 @@ services:
- internal_network - internal_network
restart: always restart: always
environment: environment:
- "POSTGRES_DB=tahake" - "POSTGRES_DB=takahe"
- "POSTGRES_USER=postgres" - "POSTGRES_USER=postgres"
- "POSTGRES_PASSWORD=insecure_password" - "POSTGRES_PASSWORD=insecure_password"
web: web:
build: . build: .
image: tahake:latest image: takahe:latest
environment: environment:
- "DJANGO_SETTINGS_MODULE=takahe.settings.production" - "DJANGO_SETTINGS_MODULE=takahe.settings.production"
- "SECRET_KEY=insecure_secret" - "PGHOST=db"
- "POSTGRES_HOST=db" - "PGDATABASE=takahe"
- "POSTGRES_DB=tahake" - "PGUSER=postgres"
- "POSTGRES_USER=postgres" - "PGPASSWORD=insecure_password"
- "POSTGRES_PASSWORD=insecure_password" - "TAKAHE_SECRET_KEY=insecure_secret"
- "TAKAHE_MAIN_DOMAIN=example.com"
- "TAKAHE_EMAIL_CONSOLE_ONLY=True"
- "TAKAHE_MEDIA_BACKEND=local"
- "TAKAHE_AUTO_ADMIN_EMAIL=admin@example.com"
networks: networks:
- external_network - external_network
- internal_network - internal_network