forked from ohcnetwork/care
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.pre-built.yaml
More file actions
41 lines (38 loc) · 936 Bytes
/
docker-compose.pre-built.yaml
File metadata and controls
41 lines (38 loc) · 936 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
37
38
39
40
41
services:
backend:
image: "ghcr.io/ohcnetwork/care:latest"
env_file:
- ./docker/.prebuilt.env
entrypoint: [ "bash", "start.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/ohcnetwork/care:latest"
env_file:
- ./docker/.prebuilt.env
entrypoint: [ "bash", "celery_worker.sh" ]
restart: unless-stopped
depends_on:
db:
condition: service_started
redis:
condition: service_started
celery-beat:
condition: service_healthy
celery-beat:
image: "ghcr.io/ohcnetwork/care:latest"
env_file:
- ./docker/.prebuilt.env
entrypoint: [ "bash", "celery_beat.sh" ]
restart: unless-stopped
depends_on:
- db
- redis