change permfix script

This commit is contained in:
poslop
2024-04-16 15:24:39 -05:00
parent ca0c9ace60
commit dcc4ac9c10
2 changed files with 35 additions and 11 deletions

View File

@@ -12,6 +12,28 @@ networks:
name: arr name: arr
services: services:
gluetun:
image: ghcr.io/qdm12/gluetun
cap_add:
- NET_ADMIN
container_name: gluetun
environment:
- VPN_SERVICE_PROVIDER=mullvad
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=+Jm+OLkBDUag9JrezhsNJy59qzCECI9uHl0QQtneolw=
- WIREGUARD_ADDRESSES=10.64.21.169/32
- SERVER_CITIES=Chicago IL
#- LOG_LEVEL=debug
volumes:
- gluetun:/gluetun
ports:
- 8181:8181
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
networks:
- qbit
syncthing: syncthing:
image: lscr.io/linuxserver/syncthing:latest image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing container_name: syncthing
@@ -114,16 +136,16 @@ services:
- PGID=1000 - PGID=1000
- TZ=Etc/UTC - TZ=Etc/UTC
- WEBUI_PORT=8181 - WEBUI_PORT=8181
network_mode: "service:gluetun"
volumes: volumes:
- qbittorrent:/config - qbittorrent:/config
- /mnt/nextcloud:/mnt/files - /mnt/nextcloud:/mnt/files
ports:
- 8181:8181
- 6881:6881
- 6881:6881/udp
restart: unless-stopped restart: unless-stopped
networks: depends_on:
- qbit gluetun:
condition: service_healthy
#networks:
#- qbit
shoko: shoko:
shm_size: 256m shm_size: 256m
@@ -171,6 +193,10 @@ services:
- 18089:18089 - 18089:18089
- 18083:18083 - 18083:18083
command: command:
- "--add-priority-node=p2pmd.xmrvsbeast.com:18080"
#- "--add-priority-node=nodes.hashvault.pro:18080"
- "--out-peers=32"
- "--in-peers=64"
- "--disable-dns-checkpoints" - "--disable-dns-checkpoints"
- "--rpc-restricted-bind-ip=0.0.0.0" - "--rpc-restricted-bind-ip=0.0.0.0"
- "--rpc-restricted-bind-port=18089" - "--rpc-restricted-bind-port=18089"
@@ -350,9 +376,6 @@ volumes:
name: ariang name: ariang
puffer-config: puffer-config:
name: puffer-config name: puffer-config
external: true
puffer-lib:
name: puffer-lib
searxng: searxng:
name: searxng name: searxng
external: true external: true
@@ -365,7 +388,6 @@ volumes:
external: true external: true
sonarr: sonarr:
name: sonarr name: sonarr
external: true
prowlarr: prowlarr:
name: prowlarr name: prowlarr
external: true external: true
@@ -375,7 +397,6 @@ volumes:
name: bitmonero name: bitmonero
p2pool-data: p2pool-data:
name: p2pool-data name: p2pool-data
external: true
swag: swag:
name: swag name: swag
syncdata: syncdata:
@@ -385,3 +406,5 @@ volumes:
name: librewolf-conf name: librewolf-conf
firefox: firefox:
name: firefox name: firefox
gluetun:
name: gluetun

View File

@@ -1,3 +1,4 @@
# Adds the group 1000 and then adds that group to user 33 to nextcloud container to fix permissions # Adds the group 1000 and then adds that group to user 33 to nextcloud container to fix permissions
docker exec -it nextcloud-aio-nextcloud groupadd -g 1000 poslop docker exec -it nextcloud-aio-nextcloud groupadd -g 1000 poslop
docker exec -it nextcloud-aio-nextcloud usermod www-data -aG poslop docker exec -it nextcloud-aio-nextcloud usermod www-data -aG poslop
docker exec -u 33 nextcloud-aio-nextcloud ./occ files:scan poslop