Update docker permissions (dev)

This commit is contained in:
midzelis
2025-07-09 18:16:56 +00:00
parent f929dc0816
commit 97c256e89b
3 changed files with 19 additions and 16 deletions

View File

@@ -35,6 +35,7 @@ services:
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
user: ${SERVER_UID:-0}:${SERVER_GID:-0}
environment:
IMMICH_REPOSITORY: immich-app/immich
IMMICH_REPOSITORY_URL: https://github.com/immich-app/immich
@@ -66,8 +67,8 @@ services:
immich-web:
container_name: immich_web
image: immich-web-dev:latest
# Needed for rootless docker setup, see https://github.com/moby/moby/issues/45919
# user: 0:0
# user: 0:0 needed for rootless docker setup, see https://github.com/moby/moby/issues/45919
user: ${WEB_UID:-1000}:${WEB_GID:-1000}
build:
context: ../
dockerfile: web/Dockerfile