Skip to content

Commit a4acfea

Browse files
authored
chore: Update example docker compose file to include package manager (#1458)
1 parent 7e3e101 commit a4acfea

File tree

1 file changed

+60
-11
lines changed

1 file changed

+60
-11
lines changed

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

Lines changed: 60 additions & 11 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,10 +57,24 @@ 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
64+
CORE_HOST: core
65+
CORE_PORT: '3000'
66+
networks:
67+
- sofie
68+
depends_on:
69+
- core
70+
71+
live-status-gateway:
72+
image: sofietv/tv-automation-live-status-gateway:release53
73+
restart: always
74+
ports:
75+
- '8080:8080'
76+
environment:
77+
DEVICE_ID: liveStatusGateway
6378
CORE_HOST: core
6479
CORE_PORT: '3000'
6580
networks:
@@ -68,6 +83,41 @@ services:
6883
depends_on:
6984
- core
7085

86+
package-manager:
87+
image: sofietv/package-manager-package-manager:latest
88+
restart: always
89+
environment:
90+
DEVICE_ID: packageManager
91+
CORE_HOST: core
92+
CORE_PORT: '3000'
93+
PACKAGE_MANAGER_URL: ws://package-manager:8060
94+
WORKFORCE_URL: ws://package-manager-workforce:8070
95+
networks:
96+
- sofie
97+
depends_on:
98+
- core
99+
- package-manager-workforce
100+
101+
package-manager-http-server:
102+
image: sofietv/package-manager-http-server:latest
103+
restart: always
104+
ports:
105+
- '8081:8080'
106+
environment:
107+
HTTP_SERVER_BASE_PATH: /mnt/package-manager-store
108+
networks:
109+
- sofie
110+
volumes:
111+
- package-manager-store:/mnt/package-manager-store
112+
113+
package-manager-workforce:
114+
image: sofietv/package-manager-workforce:latest
115+
restart: always
116+
ports:
117+
- '8070:8070'
118+
networks:
119+
- sofie
120+
71121
# Choose one of the following images, depending on which type of ingest gateway is wanted.
72122
# If using the Rundown Editor, then none of the below images are needed.
73123
# The Rundown Editor can be found here: https://github.com/SuperFlyTV/sofie-automation-rundown-editor
@@ -76,7 +126,7 @@ services:
76126
image: superflytv/sofie-spreadsheet-gateway:latest
77127
restart: always
78128
environment:
79-
DEVICE_ID: spreadsheetGateway0
129+
DEVICE_ID: spreadsheetGateway
80130
CORE_HOST: core
81131
CORE_PORT: '3000'
82132
networks:
@@ -86,14 +136,14 @@ services:
86136
profiles: [spreadsheet-gateway]
87137

88138
mos-gateway:
89-
image: sofietv/tv-automation-mos-gateway:release51
139+
image: sofietv/tv-automation-mos-gateway:release53
90140
restart: always
91141
ports:
92142
- '10540:10540' # MOS Lower port
93143
- '10541:10541' # MOS Upper port
94-
# - "10542:10542" # MOS query port - not used
144+
# - '10542:10542' # MOS query port - not used
95145
environment:
96-
DEVICE_ID: mosGateway0
146+
DEVICE_ID: mosGateway
97147
CORE_HOST: core
98148
CORE_PORT: '3000'
99149
networks:
@@ -105,7 +155,7 @@ services:
105155
inews-gateway:
106156
image: tv2media/inews-ftp-gateway:1.37.0-in-testing.20
107157
restart: always
108-
command: yarn start -host core -port 3000 -id inewsGateway0
158+
command: yarn start -host core -port 3000 -id inewsGateway
109159
networks:
110160
- sofie
111161
depends_on:
@@ -114,12 +164,11 @@ services:
114164

115165
networks:
116166
sofie:
117-
lan_access:
118-
driver: bridge
119167

120168
volumes:
121169
db-data:
122170
sofie-store:
171+
package-manager-store:
123172
```
124173
125174
Create a `Sofie` folder, copy the above content, and save it as `docker-compose.yaml` within the `Sofie` folder.

0 commit comments

Comments
 (0)