Update Docker images to use ghcr.io and clean up ownership commands in init script

This commit is contained in:
SergeantPanda 2025-04-05 21:56:58 -05:00
parent 21a9cb6528
commit 472c20627c
3 changed files with 2 additions and 5 deletions

View file

@ -3,7 +3,7 @@ services:
# build:
# context: .
# dockerfile: Dockerfile
image: dispatcharr/dispatcharr:latest
image: ghcr.io/dispatcharr/dispatcharr:latest
container_name: dispatcharr
ports:
- 9191:9191

View file

@ -3,7 +3,7 @@ services:
# build:
# context: ..
# dockerfile: docker/Dockerfile.dev
image: dispatcharr/dispatcharr
image: ghcr.io/dispatcharr/dispatcharr:dev
container_name: dispatcharr_dev
ports:
- 5656:5656

View file

@ -11,10 +11,7 @@ sed -i "s/NGINX_PORT/${DISPATCHARR_PORT}/g" /etc/nginx/sites-enabled/default
# if this script is running as root
if [ "$(id -u)" = "0" ]; then
touch /app/uwsgi.sock
chown -R $PUID:$PGID /app
chown $PUID:$PGID /app/uwsgi.sock
chown -R $PUID:$PGID /app
# Needs to own ALL of /data except db, we handle that below
chown -R $PUID:$PGID /data