-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 1.15 KB
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (29 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ScreenStage — requires Docker Engine 20.10+ for host.docker.internal (Linux).
# Jellyfin / Emby / Kodi / Plex are reached over HTTP from ScreenStage settings (no extra container packages).
#
# Volumes:
# config/ — settings.json, cache/, ads/, ads-view/, custom-pictures/, SQLite DBs (mount whole config dir).
# Optional: public/custom — legacy uploads; on first run ScreenStage copies into config/ if those folders are empty.
version: "3.8"
services:
screenstage:
image: screenstage
container_name: screenstage
build:
context: .
dockerfile: ./Dockerfile
environment:
TZ: "Australia/Brisbane"
NODE_ENV: production
BASEPATH: ""
ET: "false"
volumes:
- ~/docker/screenstage/config:/usr/src/app/config
# Legacy only — omit if unused; one-time migration copies into config/ when config ads/pictures are empty
- ~/docker/screenstage/custom:/usr/src/app/public/custom
ports:
- 9876:3000
restart: unless-stopped
# Reach Jellyfin/Emby/Kodi/Plex on the Docker host (Linux). Docker Desktop: often works without this.
extra_hosts:
- "host.docker.internal:host-gateway"