-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (54 loc) · 1.42 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'
networks:
SUMS-System-Network:
ipam:
config:
- subnet: 163.40.0.0/16
services:
registry:
restart: always
image: registry:2
ports:
- 5000:5000
volumes:
- ./docker-registry/data:/var/lib/registry
- ./DockerRegistry/config.yml:/etc/docker/registry/config.yml
networks:
SUMS-System-Network:
ipv4_address: 163.40.0.5
agent-service:
image: registry.digitalocean.com/vehicle-plus/sums-agent:latest
restart: always
command: bash -c "dotnet SUMS-Agent.dll"
volumes:
- ./appsettings.json:/app/appsettings.json
- ./fcm/vehicleplus-notifications.json:/fcm/vehicleplus-notifications.json
networks:
SUMS-System-Network:
ipv4_address: 163.40.0.10
ports:
- 6150:80
database-service:
image: postgres:latest
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- /home/postgres/admin-database/:/var/lib/postgresql/data
ports:
- 5445:5432
networks:
SUMS-System-Network:
ipv4_address: 163.40.0.15
admin-console:
image: registry.digitalocean.com/vehicle-plus/admin-console:latest
restart: always
command: bash -c "dotnet Admin-Console.dll"
volumes:
- ./adminSettings.json:/app/appsettings.json
networks:
SUMS-System-Network:
ipv4_address: 163.40.0.20
ports:
- 6250:5000