Skip to content

Commit 502658d

Browse files
committed
docs: Update docker compose file to include package manager
1 parent f24fc3e commit 502658d

File tree

1 file changed

+60
-12
lines changed

1 file changed

+60
-12
lines changed

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

Lines changed: 60 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,17 +57,53 @@ 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
64-
CORE_PORT: '3000'
65+
CORE_PORT: "3000"
66+
networks:
67+
- sofie
68+
depends_on:
69+
- core
70+
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
6580
networks:
6681
- sofie
67-
- lan_access
6882
depends_on:
6983
- 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+
- lan_access
96+
volumes:
97+
- package-manager-store:/mnt/package-manager-store
98+
99+
package-manager-workforce:
100+
image: sofietv/package-manager-workforce:latest
101+
restart: always
102+
ports:
103+
- '8070:8070'
104+
networks:
105+
- sofie
106+
- lan_access
70107

71108
# Choose one of the following images, depending on which type of ingest gateway is wanted.
72109
# If using the Rundown Editor, then none of the below images are needed.
@@ -75,29 +112,39 @@ services:
75112
# spreadsheet-gateway:
76113
# image: superflytv/sofie-spreadsheet-gateway:latest
77114
# restart: always
78-
# command: yarn start -host core -port 3000 -id spreadsheetGateway0
115+
# environment:
116+
# DEVICE_ID: spreadsheetGateway
117+
# CORE_HOST: core
118+
# CORE_PORT: "3000"
79119
# networks:
80120
# - sofie
81121
# depends_on:
82122
# - core
83123

84124
# mos-gateway:
85-
# image: sofietv/tv-automation-mos-gateway:release51
125+
# image: sofietv/tv-automation-mos-gateway:release53
86126
# restart: always
127+
# environment:
128+
# DEVICE_ID: mosGateway
129+
# CORE_HOST: core
130+
# CORE_PORT: "3000"
87131
# ports:
88132
# - "10540:10540" # MOS Lower port
89133
# - "10541:10541" # MOS Upper port
90134
# # - "10542:10542" # MOS query port - not used
91-
# command: yarn start -host core -port 3000 -id mosGateway0
92135
# networks:
93136
# - sofie
137+
# - lan_access
94138
# depends_on:
95139
# - core
96140

97141
# inews-gateway:
98-
# image: tv2media/inews-ftp-gateway:1.37.0-in-testing.20
142+
# image: tv2media/inews-ftp-gateway:latest
99143
# restart: always
100-
# command: yarn start -host core -port 3000 -id inewsGateway0
144+
# environment:
145+
# DEVICE_ID: inewsGateway
146+
# CORE_HOST: core
147+
# CORE_PORT: "3000"
101148
# networks:
102149
# - sofie
103150
# depends_on:
@@ -111,13 +158,14 @@ networks:
111158
volumes:
112159
db-data:
113160
sofie-store:
161+
package-manager-store:
114162
```
115163
116164
Create a `Sofie` folder, copy the above content, and save it as `docker-compose.yaml` within the `Sofie` folder.
117165

118166
Navigate to the _ingest-gateway_ section of `docker-compose.yaml` and select which type of _ingest-gateway_ you'd like installed by uncommenting it. Save your changes. If you are using the [Rundown Editor](rundown-editor.md), then no ingest gateways need to be uncommented. Visit [Rundowns & Newsroom Systems](installing-a-gateway/rundown-or-newsroom-system-connection/intro.md) to see which _Ingest Gateway_ is best suited for _your_ production environment.
119167

120-
Then open a terminal, `cd your-sofie-folder` and `sudo docker-compose up` \(just `docker-compose up` on Windows\).
168+
Then open a terminal, `cd your-sofie-folder` and `sudo docker compose up` \(just `docker compose up` on Windows\).
121169

122170
Once the installation is done, Sofie should be running on [http://localhost:3000](http://localhost:3000)
123171

0 commit comments

Comments
 (0)