-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
68 lines (60 loc) · 1.43 KB
/
docker-compose.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
services:
git_data_db:
image: git_data_db
container_name: git_data_db
pull_policy: never
restart: always
build:
context: ./modules/database
dockerfile: Dockerfile
environment:
POSTGRES_USER: example
POSTGRES_PASSWORD: example
POSTGRES_DB: git_repository
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- 6432:5432
db_populator:
image: postgres:15-alpine
container_name: db_populator
environment:
POSTGRES_USER: example
POSTGRES_PASSWORD: example
POSTGRES_DB: git_repository
volumes:
- ./example/insert_variants.sql:/app/insert_variants.sql
rabbitmq:
image: rabbitmq:3.13-management
container_name: rabbitmq
hostname: rabbitmq
restart: always
volumes:
- rabbitmq_data:/var/lib/rabbitmq
ports:
- 6672:5672
- 15672:15672
szz_webserver:
image: szz_webserver
container_name: szz_webserver
pull_policy: never
build:
context: ./modules/webserver
dockerfile: Dockerfile
volumes:
- ./modules/webserver/config:/app/config
ports:
- 5000:5000
szz_runner:
image: szz_runner
container_name: szz_runner
pull_policy: never
build:
context: ./modules/szz_runner
dockerfile: Dockerfile
volumes:
- ./test/measures:/measures
- ./modules/szz_runner/config:/app/config
volumes:
pgdata:
rabbitmq_data: