-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdocker-compose.prod.yml
63 lines (63 loc) · 1.7 KB
/
docker-compose.prod.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
57
58
59
60
61
62
63
services:
app:
build:
context: ./app/
args:
- ENV=production
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost/ || exit 1
interval: 30s
timeout: 5s
retries: 5
frontend:
build:
context: ./frontend/
args:
- ENV=production
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost/ || exit 1
interval: 30s
timeout: 5s
retries: 5
server:
build: ./server/
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost/ping || exit 1
interval: 30s
timeout: 5s
retries: 5
start_period: 1m
volumes:
- images_dir:/images/
environment:
- ENV=production
- HOST=0.0.0.0
- PORT=80
- SITE_BASE_URL_API=https://www.clothingloop.org/api
- SITE_BASE_URL_FE=https://www.clothingloop.org
- COOKIE_DOMAIN=clothingloop.org
- COOKIE_HTTPS_ONLY=true
- JWT_SECRET=$JWT_SECRET
- STRIPE_SECRET_KEY=$STRIPE_SECRET_KEY
- STRIPE_WEBHOOK=$STRIPE_WEBHOOK
- DB_HOST=$DB_HOST
- DB_PORT=$DB_PORT
- DB_NAME=$DB_NAME
- DB_USER=$DB_USER
- DB_PASS=$DB_PASS
- SMTP_HOST=$SMTP_HOST
- SMTP_PORT=$SMTP_PORT
- SMTP_SENDER=$SMTP_SENDER
- SMTP_USER=$SMTP_USER
- SMTP_PASS=$SMTP_PASS
- GOSCOPE2_USER=$GOSCOPE2_USER
- GOSCOPE2_PASS=$GOSCOPE2_PASS
- SENDINBLUE_API_KEY=$SENDINBLUE_API_KEY
- IMGBB_KEY=$IMGBB_KEY
- ONESIGNAL_APP_ID=$ONESIGNAL_APP_ID
- ONESIGNAL_REST_API_KEY=$ONESIGNAL_REST_API_KEY
- APPSTORE_REVIEWER_EMAIL=$APPSTORE_REVIEWER_EMAIL
- IMAGES_DIR=/images
volumes:
images_dir:
external: true