-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdocker-compose.yaml
57 lines (52 loc) · 1.31 KB
/
docker-compose.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
version: "2"
services:
acc:
image: f5devcentral/f5-automation-config-converter:1.23.3
environment:
- ACC_API_PORT=${ACC_API_PORT}
restart: unless-stopped
command: serve
tmpfs: /tmp
journeys:
image: f5devcentral/f5-bigip-journeys-app:v4.2.0
environment:
- ACC_API_PORT=${ACC_API_PORT}
- ACC_API_HOST=acc
- JOURNEYS_PORT=${JOURNEYS_PORT}
- MIGRATE_DIR=${MIGRATE_DIR}
- BROKER_URL=${BROKER_URL}
- DB_NAME=${DB_NAME}
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
- DB_USER=${DB_USER}
- DB_PASS=${DB_PASS}
command:
runserver
ports:
- "127.0.0.1:${JOURNEYS_PORT}:443"
depends_on:
- acc
- postgres
volumes:
- "${WORKING_DIRECTORY}:${MIGRATE_DIR}"
redis:
image: redis:7.2.4
celery-worker:
image: f5devcentral/f5-bigip-journeys-app:v4.2.0
command: celery -A journeys.backend worker -l debug
environment:
- BROKER_URL=${BROKER_URL}
volumes:
- "${WORKING_DIRECTORY}:${MIGRATE_DIR}"
depends_on:
- journeys
- redis
postgres:
image: postgres:16.1
restart: always
environment:
- POSTGRES_DB=${DB_NAME}
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASS}
volumes:
- "${WORKING_DIRECTORY}/db:/var/lib/postgresql/data"