diff --git a/docker-compose.yml b/docker-compose.yml index e7041e5..584334d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ services: - ./conf/rsync/.ssh:/root/.ssh - ./conf/rsync/periodic:/etc/periodic - ${RSYNC_LOCAL}:/mnt - command: /bin/sh -c "chmod -R 755 /etc/periodic && crond -f" + command: /bin/sh -c "chmod -R 400 /root/.ssh && chmod -R 755 /etc/periodic && crond -f" portainer: image: portainer/portainer-ce:2.5.1 restart: always