-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
56 lines (52 loc) · 1.21 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
version: '3.4'
networks:
internal:
services:
rabbit:
command:
- rabbitmq-server
container_name: rabbitmq
hostname: rabbit
image: rabbitmq:3-management
ports:
- 8080:15672/tcp
- 5672:5672/tcp
networks:
- internal
mariadb:
image: mariadb
container_name: test-mariadb
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: "password"
MYSQL_DATABASE: "rebus"
#volumes:
#- ./store/mysql:/var/lib/mysql
networks:
- internal
#volumes:
# - /storage/docker/mysql-datadir:/var/lib/mysql
eryph.controller:
image: ${DOCKER_REGISTRY}eryphcontroller
build:
context: .
dockerfile: src/Eryph.Controller/Dockerfile
depends_on:
- rabbit
- mariadb
networks:
- internal
environment:
- MYSQL_CONNECTIONSTRING="Server=localhost;Port=3306;Database=rebus;Uid=root;Pwd=password;SslMode=none;"
- RABBITMQ_CONNECTIONSTRING="amqp://guest:guest@rabbit""
# Eryph.ApiEndpoint:
# image: ${DOCKER_REGISTRY}EryphApiEndpoint
# build:
# context: .
# dockerfile: src/Eryph.ApiEndpoint/Dockerfile
# depends_on:
# - rabbit
# - mariadb
# networks:
# - internal