-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (73 loc) · 1.93 KB
/
docker-compose.yml
File metadata and controls
73 lines (73 loc) · 1.93 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
services:
station-ui:
image: aelmendorf234/station-ui:latest
container_name: station-ui
pull_policy: always
expose:
- 8080
ports:
- "80:8080"
restart: unless-stopped
environment:
- StationId={SYS}
- StationHub=http://station-service:8080/hubs/station
- HostHub=http://10.5.0.1:4000/hubs/host
- MONGO_CONNECTION=mongodb://172.20.3.41:27017
labels:
- "com.centurylinklabs.watchtower.enable=true"
depends_on:
- station-service
links:
- "station-service"
extra_hosts:
- host.docker.internal:host-gateway
networks:
station_net:
ipv4_address: 10.5.0.10
station-service:
privileged: true
image: aelmendorf234/station-service:latest
container_name: station-service
pull_policy: always
restart: unless-stopped
user: "root"
entrypoint: ["ash", "-c", "/scripts/entry-point.sh"]
environment:
- StationId={SYS}
- MONGO_CONNECTION=mongodb://172.20.3.41:27017
labels:
- "com.centurylinklabs.watchtower.enable=true"
expose:
- 8080
ports:
- "5000:8080"
volumes:
- /home/setitech/Documents/StationSoft/StationService/app:/scripts
- /home/setitech/Documents/StationSoft/StationService/app/updates:/updates
- /home/setitech/Documents/StationLogs:/test-logs
- /dev:/dev
networks:
station_net:
ipv4_address: 10.5.0.11
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
command: --cleanup --http-api-update
labels:
- "com.centurylinklabs.watchtower.enable=false"
environment:
- WATCHTOWER_HTTP_API_TOKEN=station-soft-token
ports:
- 8080:8080
networks:
station_net:
ipv4_address: 10.5.0.12
networks:
station_net:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1