moved scripts to their own folder

This commit is contained in:
poslop
2024-07-14 16:10:27 -05:00
parent efb1d6d510
commit 70f7ed590f
4 changed files with 56 additions and 1 deletions

2
scripts/caddyreload Executable file
View File

@@ -0,0 +1,2 @@
caddy_container_id=$(docker ps | grep caddy | awk '{print $1;}')
docker exec -w /etc/caddy $caddy_container_id caddy reload

2
scripts/compose Executable file
View File

@@ -0,0 +1,2 @@
# command to run compose with
docker compose up -d --remove-orphans

4
scripts/permfix Executable file
View File

@@ -0,0 +1,4 @@
# 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
docker exec -u 33 nextcloud-aio-nextcloud ./occ files:scan poslop