-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (40 loc) · 921 Bytes
/
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
services:
consul:
image: hashicorp/consul:latest
ports:
- "8500:8500"
command: "agent -dev -client=0.0.0.0"
networks:
- app-network
gateway:
image: nezam.ees.gateway
build:
context: .
dockerfile: Nezam.EES.Gateway/Dockerfile
ports:
- "5000:5000" # Expose Gateway port
networks:
- app-network
depends_on:
- consul
environment:
- CONSUL_ADDRESS=http://consul:8500
# Identity Service
identity:
image: nezam.ees.service.identity
build:
context: .
dockerfile: Nezam.EES.Service.Identity/Dockerfile
ports:
- "5001:5001" # Expose Identity Service port
networks:
- app-network
depends_on:
- consul
environment:
- CONSUL_ADDRESS=http://consul:8500
volumes:
- ./data/sqlite:/app/data # Persist SQLite database file
networks:
app-network:
driver: bridge