del volume-pernissions

This commit is contained in:
leo 2024-08-08 11:48:12 +05:00
parent e8f7ea91ff
commit 419cde68cb

View File

@ -50,16 +50,16 @@ services:
options:
max-size: "1m"
initContainers:
container_name: volume-permissions
image: busybox:1.36.1-glibc
#initContainers:
#container_name: volume-permissions
#image: busybox:1.36.1-glibc
command: >
sh -c "touch /letsencrypt/${SERVER_DOMAIN}.acme.json &&
chmod -Rv 600 /letsencrypt/* &&
chown 65532:65532 /letsencrypt/${SERVER_DOMAIN}.acme.json"
volumes:
- /data/secrets/${SERVER_DOMAIN}/letsencrypt:/letsencrypt
#command: >
# sh -c "touch /letsencrypt/${SERVER_DOMAIN}.acme.json &&
# chmod -Rv 600 /letsencrypt/* &&
# chown 65532:65532 /letsencrypt/${SERVER_DOMAIN}.acme.json"
#volumes:
# - /data/secrets/${SERVER_DOMAIN}/letsencrypt:/letsencrypt
networks:
default: