mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-17 16:50:53 +00:00
Update Docker images to use ghcr.io and clean up ownership commands in init script
This commit is contained in:
parent
21a9cb6528
commit
472c20627c
3 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue