-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.yml
More file actions
36 lines (36 loc) · 979 Bytes
/
compose.yml
File metadata and controls
36 lines (36 loc) · 979 Bytes
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
services:
backend:
restart: on-failure
env_file: commonthread/.env
build: ./commonthread
command: gunicorn commonthread.wsgi -b 0.0.0.0:9000
ports:
- '8030:9000'
#healthcheck:
#test: ["CMD", "curl", "-f", "http://localhost:9000/"]
#interval: 600s
#timeout: 10s
#retries: 3
frontend:
restart: on-failure
build: ./frontend
env_file: frontend/.env.production
command: node --env-file=.env build/index.js
ports:
- '8031:9000'
#healthcheck:
#test: ["CMD", "curl", "-f", "http://localhost:9000/"]
#interval: 600s
#timeout: 10s
#retries: 3
machine:
build: ./commonthread
env_file: commonthread/.env
command: python -m ct_application.cloud.consumer_service
ports:
- '8032:9000'
#healthcheck:
#test: ["CMD", "curl", "-f", "http://localhost:9000/"]
#interval: 600s
#timeout: 10s
#retries: 3