-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
81 lines (76 loc) · 1.69 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "3"
services:
server:
image: ghcr.io/pando85/gearr:latest-server
environment:
LOG_LEVEL: DEBUG
BROKER_HOST: rabbitmq
BROKER_USER: rabbit
BROKER_PASSWORD: rabbit_password
DATABASE_HOST: postgres
DATABASE_USER: postgres
DATABASE_PASSWORD: postgres_password
DATABASE_DATABASE: gearr
SCHEDULER_DOMAIN: http://server:8080
SCHEDULER_MINFILESIZE: "100"
WEB_TOKEN: super-secret-token
volumes:
- ./demo-files:/data/current:ro
ports:
- "8080:8080"
depends_on:
- postgres
- rabbitmq
postgres:
image: postgres:latest
environment:
POSTGRES_DB: gearr
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres_password
ports:
- "5432:5432"
rabbitmq:
image: "rabbitmq:3-management"
environment:
RABBITMQ_DEFAULT_USER: rabbit
RABBITMQ_DEFAULT_PASS: rabbit_password
ports:
- "5672:5672"
worker:
image: ghcr.io/pando85/gearr:latest-worker
command:
- --log-level
- debug
- --broker.host
- rabbitmq
- --broker.user
- rabbit
- --broker.password
- rabbit_password
- --worker.acceptedJobs
- encode
- --worker.pgsJobs
- "1"
- --worker.maxPrefetchJobs
- "3"
depends_on:
- rabbitmq
- server
worker-pgs:
image: ghcr.io/pando85/gearr:latest-worker-pgs
command:
- --log-level
- debug
- --broker.host
- rabbitmq
- --broker.user
- rabbit
- --broker.password
- rabbit_password
- --worker.pgsJobs
- "1"
- --worker.acceptedJobs
- pgstosrt
depends_on:
- rabbitmq
- server