-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.05 KB
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.05 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
app:
tty: true
build: docker/app
container_name: "message-service-app"
links:
- database_dev
- database_test
# - rabbit
volumes:
- .:/var/www/app
ports:
- 8000:8000
database_dev:
build: docker/database
container_name: "message-service-database-dev"
environment:
- POSTGRES_USER=MessageService
- POSTGRES_PASSWORD=MessageService
- POSTGRES_DB=MessageService
ports:
- 8001:5432
database_test:
build: docker/database
container_name: "message-service-database-test"
environment:
- POSTGRES_USER=MessageService
- POSTGRES_PASSWORD=MessageService
- POSTGRES_DB=MessageService
ports:
- 8002:5432
#rabbit:
# build: docker/rabbit
# hostname: "rabbit_mailing"
# environment:
# #RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
# RABBITMQ_DEFAULT_USER: "rabbitmq"
# RABBITMQ_DEFAULT_PASS: "rabbitmq"
# RABBITMQ_DEFAULT_VHOST: "/"
# ports:
# - 15672:15672
# - 5672:5672
# labels:
# NAME: "rabbit"
# volumes:
# - ./docker/rabbit/enabled_plugins:/etc/rabbitmq/enabled_plugins