perm script file for nextcloud

This commit is contained in:
poslop
2023-12-05 16:19:50 -06:00
parent 113e748201
commit 6d0e4007bf
2 changed files with 23 additions and 20 deletions

View File

@@ -246,26 +246,26 @@ services:
restart: unless-stopped restart: unless-stopped
pihole: #pihole:
container_name: pihole # container_name: pihole
image: pihole/pihole:latest # image: pihole/pihole:latest
ports: # ports:
- "53:53/tcp" # - "53:53/tcp"
- "53:53/udp" # - "53:53/udp"
- "67:67/udp" # - "67:67/udp"
- "8088:80/tcp" # - "8088:80/tcp"
dns: # dns:
- 127.0.0.1 # - 127.0.0.1
- 1.1.1.1 # - 1.1.1.1
environment: # environment:
TZ: 'America/Chicago' # TZ: 'America/Chicago'
WEBPASSWORD: ${PASS} # WEBPASSWORD: ${PASS}
volumes: # volumes:
- '/mnt/docker/configs/pihole/etc-pihole:/etc/pihole' # - '/mnt/docker/configs/pihole/etc-pihole:/etc/pihole'
- '/mnt/docker/configs/pihole/etc-dnsmasq.d:/etc/dnsmasq.d' # - '/mnt/docker/configs/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
cap_add: # cap_add:
- NET_ADMIN # - NET_ADMIN
restart: unless-stopped # restart: unless-stopped
jellyfin: jellyfin:
image: lscr.io/linuxserver/jellyfin:latest image: lscr.io/linuxserver/jellyfin:latest

3
permfix Executable file
View File

@@ -0,0 +1,3 @@
# 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 usermod www-data -aG poslop