-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
75 lines (75 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
75 lines (75 loc) · 1.35 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
68
69
70
71
72
73
74
75
version: '3'
services:
db:
image: postgres:15-alpine
restart: always
ports:
- 5432:5432
volumes:
- ./.data/db:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
rabbitmq:
image: rabbitmq:3-management
restart: always
ports:
- "5672:5672" # RabbitMQ broker
- "15672:15672" # RabbitMQ management UI
environment:
RABBITMQ_DEFAULT_USER: rabbitmq
RABBITMQ_DEFAULT_PASS: rabbitmq
volumes:
- ./.data/rabbitmq:/var/lib/rabbitmq
cache:
image: redis:7.2.0-alpine
restart: always
ports:
- 6379:6379
command: >
--requirepass P@ssw0rd
webapp:
build: .
command: webapp
restart: always
ports:
- "5000:5000"
volumes:
- "./:/opt/app"
depends_on:
- db
- rabbitmq
- cache
keeper:
build: .
command: keeper
restart: always
depends_on:
- webapp
flagrotator:
build: .
command: flagrotator
restart: always
volumes:
- "./:/opt/app/"
depends_on:
- db
- rabbitmq
checker:
build: .
command: checker
restart: always
volumes:
- "./:/opt/app/"
depends_on:
- db
- rabbitmq
svcmanager:
build: .
command: svcmanager
restart: always
volumes:
- "./:/opt/app/"
depends_on:
- db
- rabbitmq