-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
61 lines (55 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
57
58
59
60
61
version: "3.0"
services:
db-redis:
image: redis
container_name: db-redis
networks:
- server-network
maply-position-service:
build: ./maply-position-service
image: maply-position-service
container_name: maply-position-service
environment:
SPRING_REDIS_URL: redis://db-redis:6379
networks:
- server-network
expose:
- "8081"
depends_on:
- db-redis
db-mysql:
image: mysql
container_name: db-mysql
networks:
- server-network
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: piotr
MYSQL_PASSWORD: password
MYSQL_DATABASE: maply
maply-user-service:
build: ./maply-user-service
image: maply-user-service
container_name: maply-user-service
networks:
- server-network
expose:
- "8082"
environment:
SPRING_R2DBC_URL: r2dbc:mysql://db-mysql:3306/maply
depends_on:
- db-mysql
maply-gateway:
build: ./maply-gateway
image: maply-gateway
container_name: maply-gateway
ports:
- "8080:8080"
networks:
- server-network
depends_on:
- maply-user-service
- maply-position-service
networks:
server-network:
driver: bridge