-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
71 lines (64 loc) · 1.18 KB
/
docker-compose.dev.yml
File metadata and controls
71 lines (64 loc) · 1.18 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
version: "3.8"
name: th-monolith_dev
services:
api:
image: quarkus/talent-hub_api-jvm
ports:
- "8081:8080"
- "8443:8443"
restart: unless-stopped
volumes:
- ./talent-hub_api:/app
depends_on:
- api_mongo
- api_rabbitmq
networks:
- th-dev_net
- bridge_delegate
api_mongo:
image: "mongo:4.4"
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
networks:
- th-dev_net
api_rabbitmq:
image: "rabbitmq:3.8-management"
ports:
- "5672:5672"
- "15672:15672"
networks:
- th-dev_net
bot:
build:
context: talent-hub-aleks_bot
dockerfile: dev.Dockerfile
restart: unless-stopped
ports:
- "5001:5107"
env_file:
- .env
volumes:
- ./talent-hub-aleks_bot:/app
depends_on:
- bot_postgres
networks:
- th-dev_net
bot_postgres:
image: "postgres:13"
env_file:
- .env
ports:
- "5439:5432"
volumes:
- ./bot_postgres:/var/lib/postgresql/data
networks:
- th-dev_net
networks:
th-dev_net:
driver: bridge
bridge_delegate:
external: true
volumes:
mongodb_data: