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