user name rather than uid

This commit is contained in:
Mike Holloway 2025-12-06 20:00:58 -05:00
parent 2bf1bb469e
commit 80b42a89b6

View File

@ -75,8 +75,8 @@ services:
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
volumes:
- /home/{{ getent_passwd[user.name][2] }}/nginx/certs:/etc/nginx/certs:z,ro
- /home/{{ getent_passwd[user.name][2] }}/nginx/vhost.d:/etc/nginx/vhost.d:z
- /home/{{ user.name }}/nginx/certs:/etc/nginx/certs:z,ro
- /home/{{ user.name }}/nginx/vhost.d:/etc/nginx/vhost.d:z
- html:/usr/share/nginx/html:z
- /run/user/{{ getent_passwd[user.name][2] }}/podman/podman.sock:/tmp/docker.sock:ro
networks: