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: options:
max-size: "1m" max-size: "1m"
initContainers: #initContainers:
container_name: volume-permissions #container_name: volume-permissions
image: busybox:1.36.1-glibc #image: busybox:1.36.1-glibc
command: > #command: >
sh -c "touch /letsencrypt/${SERVER_DOMAIN}.acme.json && # sh -c "touch /letsencrypt/${SERVER_DOMAIN}.acme.json &&
chmod -Rv 600 /letsencrypt/* && # chmod -Rv 600 /letsencrypt/* &&
chown 65532:65532 /letsencrypt/${SERVER_DOMAIN}.acme.json" # chown 65532:65532 /letsencrypt/${SERVER_DOMAIN}.acme.json"
volumes: #volumes:
- /data/secrets/${SERVER_DOMAIN}/letsencrypt:/letsencrypt # - /data/secrets/${SERVER_DOMAIN}/letsencrypt:/letsencrypt
networks: networks:
default: default: