summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorHumberto Rocha2022-11-19 23:53:38 -0500
committerGitHub2022-11-19 21:53:38 -0700
commitfac144cee0772cbd197bba2f4e0f42cf1744d946 (patch)
treea86a3409d057ddbcd63e94b4046fde1873acf965 /docker
parent36cde270b9cd7f0a969e1a4f9db3964d52217ce9 (diff)
downloadtakahe-fac144cee0772cbd197bba2f4e0f42cf1744d946.tar.gz
takahe-fac144cee0772cbd197bba2f4e0f42cf1744d946.tar.bz2
takahe-fac144cee0772cbd197bba2f4e0f42cf1744d946.zip
Fix up docker-compose
Diffstat (limited to 'docker')
-rw-r--r--docker/docker-compose.yml18
1 files changed, 11 insertions, 7 deletions
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 00463bf..099b027 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -11,20 +11,24 @@ services:
- internal_network
restart: always
environment:
- - "POSTGRES_DB=tahake"
+ - "POSTGRES_DB=takahe"
- "POSTGRES_USER=postgres"
- "POSTGRES_PASSWORD=insecure_password"
web:
build: .
- image: tahake:latest
+ image: takahe:latest
environment:
- "DJANGO_SETTINGS_MODULE=takahe.settings.production"
- - "SECRET_KEY=insecure_secret"
- - "POSTGRES_HOST=db"
- - "POSTGRES_DB=tahake"
- - "POSTGRES_USER=postgres"
- - "POSTGRES_PASSWORD=insecure_password"
+ - "PGHOST=db"
+ - "PGDATABASE=takahe"
+ - "PGUSER=postgres"
+ - "PGPASSWORD=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:
- external_network
- internal_network