|
|
@ -16,9 +16,13 @@ services:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
DJANGO_ALLOWED_HOSTS: localhost
|
|
|
|
DJANGO_ALLOWED_HOSTS: localhost
|
|
|
|
DATABASE_URL: postgresql://postgres:password@db:5432/bullettrain
|
|
|
|
DATABASE_URL: postgresql://postgres:password@db:5432/bullettrain
|
|
|
|
|
|
|
|
DJANGO_DB_NAME: bullettrain
|
|
|
|
|
|
|
|
DJANGO_DB_USER: postgres
|
|
|
|
|
|
|
|
DJANGO_DB_PASSWORD: password
|
|
|
|
|
|
|
|
DJANGO_DB_PORT: 5432
|
|
|
|
REDIS_URL: redis://redis:6379/
|
|
|
|
REDIS_URL: redis://redis:6379/
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- "8000:80"
|
|
|
|
- "8000:8000"
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- db
|
|
|
|
- redis
|
|
|
|
- redis
|
|
|
|