[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):
|
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']
|
return env['users'][service] + env['uid_shift']
|
||||||
else:
|
else:
|
||||||
return env['podman_uid']
|
return env['podman_uid']
|
||||||
|
|
|
@ -4,7 +4,6 @@ services:
|
||||||
image: docker.io/crazymax/diun:4
|
image: docker.io/crazymax/diun:4
|
||||||
network_mode: pasta
|
network_mode: pasta
|
||||||
restart: always
|
restart: always
|
||||||
user: ${env['users']['diun']}:${env['users']['diun']}
|
|
||||||
command: serve
|
command: serve
|
||||||
env_file: .env.rendered
|
env_file: .env.rendered
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -121,7 +121,7 @@ ports:
|
||||||
# UID in containers
|
# UID in containers
|
||||||
users:
|
users:
|
||||||
coturn: 666
|
coturn: 666
|
||||||
diun: 1011
|
diun: 0
|
||||||
etebase: 373
|
etebase: 373
|
||||||
fireshare: 1007
|
fireshare: 1007
|
||||||
hedgedoc: 1004
|
hedgedoc: 1004
|
||||||
|
|
Loading…
Reference in a new issue