[diun] Fix socket permissions
This commit is contained in:
parent
5bc20d671b
commit
0dae148541
3 changed files with 2 additions and 3 deletions
|
@ -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']
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -121,7 +121,7 @@ ports:
|
|||
# UID in containers
|
||||
users:
|
||||
coturn: 666
|
||||
diun: 1011
|
||||
diun: 0
|
||||
etebase: 373
|
||||
fireshare: 1007
|
||||
hedgedoc: 1004
|
||||
|
|
Loading…
Reference in a new issue