Amend nextcloud docker configuration

This commit is contained in:
cspark 2024-11-07 14:31:53 +00:00
parent 3180fc532b
commit c42b7bf05a
1 changed files with 4 additions and 13 deletions

View File

@ -1,7 +1,4 @@
# {{ ansible_managed }}
version: '2'
services:
# Gluetun is used to connect container to VPN
@ -19,17 +16,11 @@ services:
- WIREGUARD_ADDRESSES=10.0.0.5/32
- FIREWALL_VPN_INPUT_PORTS=11000,80
- 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
<<<<<<< HEAD
- ./post-rules.txt:/iptables/post-rules.txt
#ports:
# - "80:11000"
=======
# - ./post-rules.txt:/iptables/post-rules.txt
ports:
- "80:11000"
>>>>>>> 62bffc7d6ecfa5d2eee4efd93e29bcd8b5ff6d24
- "11000:11000"
deploy:
resources:
limits:
@ -51,7 +42,7 @@ services:
nextcloud-db:
network_mode: "service:nextcloud-gluetun"
image: postgres:alpine
image: postgres:16-alpine
restart: always
volumes:
- ./nextcloud-database:/var/lib/postgresql/data:Z