Skip to content

Commit be15213

Browse files
committed
templates: unify docker network conventions
1 parent e85ecb9 commit be15213

File tree

8 files changed

+16
-1
lines changed

8 files changed

+16
-1
lines changed

.templates/dashmachine/service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ dashmachine:
66
ports:
77
- 5000:5000
88
restart: unless-stopped
9+
networks:
10+
- iotstack_nw

.templates/domoticz/service.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ domoticz:
88
volumes:
99
- ./volumes/domoticz/data:/config
1010
restart: unless-stopped
11-
network_mode: bridge
1211
environment:
1312
- PUID=1000
1413
- PGID=1000
1514
# - TZ=
1615
# - WEBROOT=domoticz
16+
networks:
17+
- iotstack_nw

.templates/heimdall/service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ heimdall:
1111
- 8880:80
1212
- 8883:443
1313
restart: unless-stopped
14+
networks:
15+
- iotstack_nw

.templates/homer/service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ homer:
99
ports:
1010
- "8881:8080"
1111
restart: unless-stopped
12+
networks:
13+
- iotstack_nw

.templates/portainer-ce/service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ portainer-ce:
88
volumes:
99
- /var/run/docker.sock:/var/run/docker.sock
1010
- ./volumes/portainer-ce/data:/data
11+
networks:
12+
- iotstack_nw

.templates/portainer_agent/service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
- /var/run/docker.sock:/var/run/docker.sock
88
- /var/lib/docker/volumes:/var/lib/docker/volumes
99
restart: unless-stopped
10+
networks:
11+
- iotstack_nw

.templates/qbittorrent/service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@
1414
- "6881:6881/udp"
1515
- "15080:15080"
1616
- "1080:1080"
17+
networks:
18+
- iotstack_nw

.templates/wireguard/service.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ wireguard:
2121
- SYS_MODULE
2222
sysctls:
2323
- net.ipv4.conf.all.src_valid_mark=1
24+
networks:
25+
- iotstack_nw

0 commit comments

Comments
 (0)