forked from delta/codecharacter-server-2022
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yml
51 lines (45 loc) · 959 Bytes
/
docker-compose.dev.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
version: "3.8"
services:
db:
container_name: codecharacter_db
image: mongo:latest
ports:
- "27017:27017"
volumes:
- ./data/mongo_dev:/data/db
networks:
- common
environment:
MONGO_INITDB_DATABASE: codecharacter_2022
restart: always
rabbitmq:
container_name: codecharacter_rabbitmq
image: rabbitmq:management-alpine
hostname: 'codecharacter_rabbitmq'
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./config/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
- ./data/rabbitmq_dev:/var/lib/rabbitmq/mnesia/
networks:
- common
restart: always
core:
container_name: codecharacter_core
build:
context: .
target: development
ports:
- "8080:8080"
depends_on:
- db
- rabbitmq
volumes:
- ./:/server
networks:
- common
networks:
common:
name: codecharacter_common
driver: bridge