forked from buildingSMART/validate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.infra_only.yml
45 lines (41 loc) · 1.2 KB
/
docker-compose.infra_only.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
services:
# Redis
redis:
image: redis:7.2-alpine
restart: unless-stopped
container_name: redis
ports:
- 6379:6379
volumes:
- redis_data:/data
# PostgreSQL DB
db:
image: postgres:16.2-alpine
restart: unless-stopped
container_name: db
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
POSTGRES_DB: ${POSTGRES_NAME}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- ${POSTGRES_PORT}:${POSTGRES_PORT}
# Celery flower
flower:
image: mher/flower:2.0
container_name: flower
command: celery flower
restart: unless-stopped
environment:
CELERY_BROKER_URL: ${CELERY_BROKER_URL}
TASK_COLUMNS: "name,uuid,state,args,kwargs,result,received,started,runtime,worker,retries,revoked,exception,eta"
FLOWER_PORT: 5555
FLOWER_UNAUTHENTICATED_API: true
ports:
- 5555:5555
depends_on:
- redis
volumes:
postgres_data:
redis_data: