Add chown command in init container
This commit is contained in:
1 parent
44fe1edf57
commit
ce2047f290
1 file changed
+2
-1
+2
-1
@@ -7,7 +7,8 @@ services:
|
|||||||
TZ: ${TZ}
|
TZ: ${TZ}
|
||||||
command: >
|
command: >
|
||||||
sh -c "cp -fu /sources/config.yaml /config &&
|
sh -c "cp -fu /sources/config.yaml /config &&
|
||||||
cp -fu /sources/subscriptions.yaml /config"
|
cp -fu /sources/subscriptions.yaml /config &&
|
||||||
|
chown -R 0:0 /config"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/volumes/hawser/stacks/podcasts/sources:/sources
|
- /var/lib/docker/volumes/hawser/stacks/podcasts/sources:/sources
|
||||||
- /var/lib/docker/volumes/ytdl-sub/config/ytdl-sub:/config
|
- /var/lib/docker/volumes/ytdl-sub/config/ytdl-sub:/config
|
||||||
|
|||||||
Reference in new issue
Block a user