forked from ohcnetwork/care
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.pre-built.yaml
42 lines (39 loc) · 963 Bytes
/
docker-compose.pre-built.yaml
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
version: '3.4'
services:
backend:
image: "ghcr.io/coronasafe/care:latest"
env_file:
- ./docker/.prebuilt.env
entrypoint: [ "bash", "start-ecs.sh" ]
restart: unless-stopped
depends_on:
db:
condition: service_started
redis:
condition: service_started
celery-beat:
condition: service_healthy
ports:
- "9000:9000"
celery-worker:
image: "ghcr.io/coronasafe/care:latest"
env_file:
- ./docker/.prebuilt.env
entrypoint: [ "bash", "celery_worker-ecs.sh" ]
restart: unless-stopped
depends_on:
db:
condition: service_started
redis:
condition: service_started
celery-beat:
condition: service_healthy
celery-beat:
image: "ghcr.io/coronasafe/care:latest"
env_file:
- ./docker/.prebuilt.env
entrypoint: [ "bash", "celery_beat-ecs.sh" ]
restart: unless-stopped
depends_on:
- db
- redis