File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
packages/documentation/docs/user-guide/installation Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ This docker-compose file automates the basic setup of the [Sofie-Core applicatio
1818``` yaml
1919# This is NOT recommended to be used for a production deployment.
2020# It aims to quickly get an evaluation version of Sofie running and serve as a basis for how to set up a production deployment.
21- version : ' 3.3'
2221services :
2322 db :
2423 hostname : mongo
@@ -37,6 +36,16 @@ services:
3736 networks :
3837 - sofie
3938
39+ # Fix Ownership Snapshots mount
40+ # Because docker volumes are owned by root by default
41+ # And our images follow best-practise and don't run as root
42+ change-vol-ownerships :
43+ image : node:22-alpine
44+ user : ' root'
45+ volumes :
46+ - sofie-store:/mnt/sofie-store
47+ entrypoint : ['sh', '-c', 'chown -R node:node /mnt/sofie-store']
48+
4049 core :
4150 hostname : core
4251 image : sofietv/tv-automation-server-core:release52
@@ -54,7 +63,10 @@ services:
5463 volumes :
5564 - sofie-store:/mnt/sofie-store
5665 depends_on :
57- - db
66+ change-vol-ownerships :
67+ condition : service_completed_successfully
68+ db :
69+ condition : service_healthy
5870
5971 playout-gateway :
6072 image : sofietv/tv-automation-playout-gateway:release52
You can’t perform that action at this time.
0 commit comments