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
|
image: alpine:latest
|
||||||
container_name: podcast-cron
|
container_name: podcast-cron
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
init-configuration:
|
||||||
|
condition: service_completed_successfully
|
||||||
environment:
|
environment:
|
||||||
TZ: ${TZ}
|
TZ: ${TZ}
|
||||||
|
user: "${PUID}:${PGID}"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
command: >
|
command: >
|
||||||
|
|||||||
Reference in new issue
Block a user