-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (34 loc) · 983 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '3.9'
services:
db:
image: postgres:11
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- postgres_data:/var/lib/postgresql/data
web:
build: .
command: gunicorn project_nesa.wsgi -b 0.0.0.0:8000
environment:
- ENVIRONMENT=development
- DEBUG=1
- SECRET_KEY='test'
- EMAIL_HOST_USER='test'
- EMAIL_HOST_PASSWORD='test'
- DEFAULT_FROM_EMAIL='test'
- AWS_ACCESS_KEY_ID='test'
- AWS_SECRET_ACCESS_KEY='test'
- AWS_STORAGE_BUCKET_NAME='test'
- AWS_S3_REGION_NAME='test'
- SOCIAL_AUTH_AUTH0_KEY='test'
- SOCIAL_AUTH_AUTH0_SECRET='test'
volumes:
- .:/code
ports:
- 8000:8000
depends_on:
- db
volumes:
postgres_data: