-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (55 loc) · 1.96 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '3.3'
services:
backend:
build:
context: ./backend
args:
DJANGO_ALLOWED_HOSTS: '*'
DJANGO_SECRET_KEY: 'ek3u^o%t$ei@d43j_z&(8bme&lp24cbf^qr(6&(b=9vx-(l9rv'
DJANGO_CORS_ORIGIN_WHITELIST: >-
http://ec2-13-125-77-159.ap-northeast-2.compute.amazonaws.com
http://13.125.77.159
http://13.125.77.159:8080
http://13.125.77.159:8082
http://flglance.net
http://flglance.net:8080
http://flglance.net:8082
https://flglance.net
https://flglance.net:8080
https://flglance.net:8082
BACKEND_ADMIN: '36JV9e3gtgrLYJTD'
RDS_HOSTNAME: 'flglancedbinstance.cnccbx1rihhz.ap-northeast-2.rds.amazonaws.com'
RDS_PORT: 5432
RDS_DB_NAME: 'postgres'
RDS_USERNAME: 'postgres'
RDS_PASSWORD: '8*7Ld.?{<vw>`L'
S3_ACCESS_KEY_ID: 'AKIA3Q7SB7PEC5SQGO4E'
S3_SECRET_ACCESS_KEY: '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'
S3_BUCKET_NAME: 'flglance-storage-bucket'
DEBUG: 'False'
EMAIL_HOST_USER: 'joseph@mail.flglance.net'
EMAIL_HOST_PASSWORD: '8b3a666a798dd146141ecd32a583e324-e49cc42c-1d04dd45'
environment:
CHOKIDAR_USEPOLLING: "true"
command: gunicorn backend.wsgi --bind 0.0.0.0:8000
ports:
- "8000:8000"
frontend:
build:
context: ./frontend
environment:
CHOKIDAR_USEPOLLING: "true"
volumes:
- build_folder:/frontend/build
nginx:
image: nginx:latest
ports:
- "8080:8080"
volumes:
- ./webserver/nginx-proxy.conf:/etc/nginx/conf.d/default.conf
- build_folder:/var/www/frontend
depends_on:
- backend
- frontend
volumes:
build_folder: