Amend nextcloud docker configuration
This commit is contained in:
parent
3180fc532b
commit
c42b7bf05a
|
|
@ -1,7 +1,4 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
version: '2'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
# Gluetun is used to connect container to VPN
|
# Gluetun is used to connect container to VPN
|
||||||
|
|
@ -19,17 +16,11 @@ services:
|
||||||
- WIREGUARD_ADDRESSES=10.0.0.5/32
|
- WIREGUARD_ADDRESSES=10.0.0.5/32
|
||||||
- FIREWALL_VPN_INPUT_PORTS=11000,80
|
- FIREWALL_VPN_INPUT_PORTS=11000,80
|
||||||
- FIREWALL_INPUT_PORTS=11000,80,9000,6379,5432
|
- FIREWALL_INPUT_PORTS=11000,80,9000,6379,5432
|
||||||
# volumes:
|
volumes:
|
||||||
# Custom IPTables forwarding rules to forward TCP(web) traffic from port 11000 to port 80
|
# Custom IPTables forwarding rules to forward TCP(web) traffic from port 11000 to port 80
|
||||||
<<<<<<< HEAD
|
- ./post-rules.txt:/iptables/post-rules.txt
|
||||||
- ./post-rules.txt:/iptables/post-rules.txt
|
|
||||||
#ports:
|
|
||||||
# - "80:11000"
|
|
||||||
=======
|
|
||||||
# - ./post-rules.txt:/iptables/post-rules.txt
|
|
||||||
ports:
|
ports:
|
||||||
- "80:11000"
|
- "11000:11000"
|
||||||
>>>>>>> 62bffc7d6ecfa5d2eee4efd93e29bcd8b5ff6d24
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
@ -51,7 +42,7 @@ services:
|
||||||
|
|
||||||
nextcloud-db:
|
nextcloud-db:
|
||||||
network_mode: "service:nextcloud-gluetun"
|
network_mode: "service:nextcloud-gluetun"
|
||||||
image: postgres:alpine
|
image: postgres:16-alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./nextcloud-database:/var/lib/postgresql/data:Z
|
- ./nextcloud-database:/var/lib/postgresql/data:Z
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue