-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-app.yml
More file actions
67 lines (62 loc) · 1.57 KB
/
Copy pathdocker-compose-app.yml
File metadata and controls
67 lines (62 loc) · 1.57 KB
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
61
62
63
64
65
66
67
version: "3.9"
services:
orchestration-api: &orchestration
build:
context: ./backend
args:
- "USERID=${USERID:-1000}"
- "GROUPID=${GROUPID:-1000}"
- "USERNAME=${USERNAME:-orcapp}"
command: /app/sh/start.sh
user: "1000:1000"
env_file:
- .env-app
networks:
- default
- orchestration-network
volumes:
- ./pipelines:/pipelines # pipelines repo
- ./pipelines/training_set_maker/data-example:/datasets # datasets repo
- ./processes:/processes
- ../archive/data:/archive/data # access to PZ server uploads
- ./logs:/logs
- ./db:/db
depends_on:
- rabbitmq
orchestration-local-worker: &celery_local_worker
<<: *orchestration
hostname: "orchestration-local-worker"
command: /app/sh/local_worker.sh
depends_on:
- orchestration-api
rabbitmq:
image: "rabbitmq:3.12.12-management"
hostname: "rabbitmq"
env_file:
- .env-app
ports:
- "15672:15672"
- "5672:5672"
networks:
- default
- orchestration-network
volumes:
- "./rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins"
- "./rabbitmq/data/:/var/lib/rabbitmq/"
- "./rabbitmq/log/:/var/log/rabbitmq/"
orchestrator:
image: nginx:1.21.6-alpine
ports:
- 8088:80
volumes:
- ./nginx.app.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- default
- orchestration-network
depends_on:
- orchestration-api
- rabbitmq
networks:
orchestration-network:
external: true
driver: bridge