set user and group for container cron
This commit is contained in:
1 parent
5b56340695
commit
e2a17c795a
1 file changed
+4
@@ -38,8 +38,12 @@ services:
|
||||
image: alpine:latest
|
||||
container_name: podcast-cron
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
init-configuration:
|
||||
condition: service_completed_successfully
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
user: "${PUID}:${PGID}"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: >
|
||||
|
||||
Reference in new issue
Block a user