Skip to content

Commit 37ee3cc

Browse files
committed
docs: Update docker compose file to include package manager
1 parent 8eba5bc commit 37ee3cc

File tree

1 file changed

+46
-12
lines changed

1 file changed

+46
-12
lines changed

packages/documentation/docs/user-guide/installation/installing-sofie-server-core.md

Lines changed: 46 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ 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+
name: Sofie
2122
services:
2223
db:
2324
hostname: mongo
24-
image: mongo:6.0
25+
image: mongo:8
2526
restart: always
2627
entrypoint: ['/usr/bin/mongod', '--replSet', 'rs0', '--bind_ip_all']
2728
# the healthcheck avoids the need to initiate the replica set
@@ -38,7 +39,7 @@ services:
3839

3940
core:
4041
hostname: core
41-
image: sofietv/tv-automation-server-core:release51
42+
image: sofietv/tv-automation-server-core:release53
4243
restart: always
4344
ports:
4445
- '3000:3000' # Same port as meteor uses by default
@@ -56,18 +57,52 @@ services:
5657
- db
5758

5859
playout-gateway:
59-
image: sofietv/tv-automation-playout-gateway:release51
60+
image: sofietv/tv-automation-playout-gateway:release53
6061
restart: always
6162
environment:
62-
DEVICE_ID: playoutGateway0
63+
DEVICE_ID: playoutGateway
6364
CORE_HOST: core
6465
CORE_PORT: '3000'
6566
networks:
6667
- sofie
67-
- lan_access
6868
depends_on:
6969
- core
7070

71+
package-manager:
72+
image: sofietv/package-manager-package-manager:latest
73+
restart: always
74+
environment:
75+
DEVICE_ID: packageManager
76+
CORE_HOST: core
77+
CORE_PORT: "3000"
78+
PACKAGE_MANAGER_URL: ws://package-manager:8060
79+
WORKFORCE_URL: ws://package-manager-workforce:8070
80+
networks:
81+
- sofie
82+
depends_on:
83+
- core
84+
- package-manager-workforce
85+
86+
package-manager-http-server:
87+
image: sofietv/package-manager-http-server:latest
88+
restart: always
89+
ports:
90+
- '8080:8080'
91+
environment:
92+
HTTP_SERVER_BASE_PATH: /mnt/package-manager-store
93+
networks:
94+
- sofie
95+
volumes:
96+
- package-manager-store:/mnt/package-manager-store
97+
98+
package-manager-workforce:
99+
image: sofietv/package-manager-workforce:latest
100+
restart: always
101+
ports:
102+
- '8070:8070'
103+
networks:
104+
- sofie
105+
71106
# Choose one of the following images, depending on which type of ingest gateway is wanted.
72107
# If using the Rundown Editor, then none of the below images are needed.
73108
# The Rundown Editor can be found here: https://github.com/SuperFlyTV/sofie-automation-rundown-editor
@@ -76,7 +111,7 @@ services:
76111
image: superflytv/sofie-spreadsheet-gateway:latest
77112
restart: always
78113
environment:
79-
DEVICE_ID: spreadsheetGateway0
114+
DEVICE_ID: spreadsheetGateway
80115
CORE_HOST: core
81116
CORE_PORT: '3000'
82117
networks:
@@ -86,14 +121,14 @@ services:
86121
profiles: [spreadsheet-gateway]
87122

88123
mos-gateway:
89-
image: sofietv/tv-automation-mos-gateway:release51
124+
image: sofietv/tv-automation-mos-gateway:release53
90125
restart: always
91126
ports:
92127
- '10540:10540' # MOS Lower port
93128
- '10541:10541' # MOS Upper port
94-
# - "10542:10542" # MOS query port - not used
129+
# - '10542:10542' # MOS query port - not used
95130
environment:
96-
DEVICE_ID: mosGateway0
131+
DEVICE_ID: mosGateway
97132
CORE_HOST: core
98133
CORE_PORT: '3000'
99134
networks:
@@ -105,7 +140,7 @@ services:
105140
inews-gateway:
106141
image: tv2media/inews-ftp-gateway:1.37.0-in-testing.20
107142
restart: always
108-
command: yarn start -host core -port 3000 -id inewsGateway0
143+
command: yarn start -host core -port 3000 -id inewsGateway
109144
networks:
110145
- sofie
111146
depends_on:
@@ -114,12 +149,11 @@ services:
114149

115150
networks:
116151
sofie:
117-
lan_access:
118-
driver: bridge
119152

120153
volumes:
121154
db-data:
122155
sofie-store:
156+
package-manager-store:
123157
```
124158
125159
Create a `Sofie` folder, copy the above content, and save it as `docker-compose.yaml` within the `Sofie` folder.

0 commit comments

Comments
 (0)