-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (44 loc) · 1.35 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
version: '3'
networks:
Vehicle-Plus-Network:
ipam:
config:
- subnet: 163.20.0.0/16
services:
auth-server-service:
image: registry.digitalocean.com/vehicle-plus/auth-server:latest
restart: always
command: bash -c "dotnet AuthenticationServer.dll"
volumes:
- ./AuthServer/certificate.crt:/certificates/certificate.crt
- ./AuthServer/private_key.pem:/certificates/private_key.pem
- ./AuthServer/public_key.pem:/certificates/public_key.pem
- ./appsettings.json:/app/appsettings.json
ports:
- 127.0.0.1:5440:80
networks:
Vehicle-Plus-Network:
ipv4_address: 163.20.0.15
alerts-service:
image: registry.digitalocean.com/vehicle-plus/alerts:latest
restart: always
command: bash -c "dotnet Alert-Server.dll"
volumes:
- ./fcm/vehicleplus-notifications.json:/fcm/vehicleplus-notifications.json
- ./appsettings.json:/app/appsettings.json
ports:
- 127.0.0.1:5460:80
networks:
Vehicle-Plus-Network:
ipv4_address: 163.20.0.25
gps-service:
image: registry.digitalocean.com/vehicle-plus/gps-server:latest
restart: always
command: bash -c "dotnet GPS-Server.dll"
volumes:
- ./appsettings.json:/app/appsettings.json
ports:
- 127.0.0.1:5480:80
networks:
Vehicle-Plus-Network:
ipv4_address: 163.20.0.30