[diun] Fix socket permissions

This commit is contained in:
Viyurz 2024-10-15 10:23:53 +02:00
parent 5bc20d671b
commit 0dae148541
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8
3 changed files with 2 additions and 3 deletions

View file

@ -109,7 +109,7 @@ def getImageId (image):
def getUid(service):
if service in env['users'].keys():
if service in env['users'].keys() and env['users'][service] != 0:
return env['users'][service] + env['uid_shift']
else:
return env['podman_uid']

View file

@ -4,7 +4,6 @@ services:
image: docker.io/crazymax/diun:4
network_mode: pasta
restart: always
user: ${env['users']['diun']}:${env['users']['diun']}
command: serve
env_file: .env.rendered
volumes:

View file

@ -121,7 +121,7 @@ ports:
# UID in containers
users:
coturn: 666
diun: 1011
diun: 0
etebase: 373
fireshare: 1007
hedgedoc: 1004