del volume-pernissions
This commit is contained in:
parent
e8f7ea91ff
commit
419cde68cb
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user