-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 901 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 901 Bytes
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
version: '3.8'
services:
gateway-service:
image: gateway-service:local
build:
context: ./gateway-service
dockerfile: Dockerfile
ports:
- "8080:8080"
depends_on:
- identity-service
- demo-service
identity-service:
image: identity-service:local
build:
context: ./identity-service
dockerfile: Dockerfile
ports:
- "8081:8081"
environment:
- WAIT_HOSTS=identity-db:3306
depends_on:
- identity-db
identity-db:
image: mariadb:latest
restart: always
environment:
- MARIADB_DATABASE=identity_db
- MARIADB_USER=identity_user
- MARIADB_PASSWORD=identity_pass
- MARIADB_ROOT_PASSWORD=root_pass
ports:
- "3307:3306"
demo-service:
image: demo-service:local
build:
context: ./demo-service
dockerfile: Dockerfile
ports:
- "8082:8082"