forked from ohcnetwork/care
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.coolify.yaml
60 lines (55 loc) · 1.1 KB
/
docker-compose.coolify.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
networks:
default:
name: care
services:
backend:
image: care_local
build:
context: .
dockerfile: docker/dev.Dockerfile
env_file:
- ./docker/.local.env
volumes:
- .:/app
entrypoint: [ "bash", "scripts/start-dev.sh" ]
ports:
- "9000:9000"
- "9876:9876" #debugpy
restart: unless-stopped
depends_on:
db:
condition: service_started
redis:
condition: service_started
celery:
condition: service_healthy
celery:
image: care_local
env_file:
- ./docker/.local.env
entrypoint: [ "bash", "scripts/celery-dev.sh" ]
restart: unless-stopped
depends_on:
- db
- redis
volumes:
- .:/app
db:
image: postgres:alpine
restart: unless-stopped
env_file:
- ./docker/.prebuilt.env
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- "5433:5432"
redis:
image: redis/redis-stack-server:6.2.6-v10
restart: unless-stopped
volumes:
- redis-data:/data
ports:
- "6380:6379"
volumes:
postgres-data:
redis-data: