Repository navigation
Expand file tree
/
Copy pathcompose.yaml
More file actions
77 lines (70 loc) · 3.64 KB
/
Copy pathcompose.yaml
File metadata and controls
77 lines (70 loc) · 3.64 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# ps5upload engine + web UI on a Linux server (homelab, NAS, mini PC).
#
# docker compose -f engine/compose.yaml up -d
# then open http://<this server's LAN IP>:19113 from a browser on your LAN,
# or point the desktop app at it: Settings → Engine URL.
#
# Edit the three values marked EDIT first.
services:
ps5upload:
image: ghcr.io/phantomptr/ps5upload-engine-webui:latest
# Engine only, no web UI (for the desktop app):
# image: ghcr.io/phantomptr/ps5upload-engine:latest
container_name: ps5upload
restart: unless-stopped
# Host networking, so the PS5 can reach the engine. A stream install makes
# the PS5 download the package FROM the engine; with Docker's default
# bridge network the engine would give the PS5 its internal 172.17.x.x
# address, which the PS5 cannot reach, and every stream install fails.
# (Docker Desktop on macOS/Windows can't do host networking: publish the
# port instead and set PS5UPLOAD_PKG_HOST_IP to that computer's LAN IP.)
network_mode: host
# Docker's default log driver keeps everything for ever. The engine leaves its per-request
# lines out of this log unless Detailed logs is on; this bounds what remains.
logging:
driver: json-file
options:
max-size: 10m
max-file: "3"
environment:
# EDIT: your PS5's IP address. The first browser finds this console already listed.
PS5_ADDR: "192.168.1.50"
# EDIT: who may use the engine. It has NO password — anyone allowed here
# can install, delete and read files on your PS5. Your LAN's range is the
# usual choice; keep it to networks you trust. Never expose the engine
# to the internet.
PS5UPLOAD_ALLOW_IP: "192.168.1.0/24"
# Where the web UI's file browser opens. Without this it starts at the
# engine's home directory (/data), not at your packages below.
# Comma-separate the value to offer more than one root.
PS5UPLOAD_BROWSE_ROOTS: "/pkgs"
# Only needed without host networking: this server's LAN IP, and the port
# you publish if it is not 19113 (`ports: ["8080:19113"]`).
# PS5UPLOAD_PKG_HOST_IP: "192.168.1.10"
# PS5UPLOAD_PKG_HOST_PORT: "8080"
# Where packages uploaded from a browser wait for their install. By default
# beside the engine's state in /data; point it at a bigger volume if needed.
# PS5UPLOAD_STAGING_DIR: "/pkgs-staging"
# Play Together invites through your own name (SELF_HOSTING.md): the hub and the
# guest pages on a port of their own, which only your HTTPS reverse proxy publishes.
# The engine itself (19113) stays on the LAN.
# PS5UPLOAD_HUB_LISTEN: "127.0.0.1:19115"
# PS5UPLOAD_HUB_PUBLIC_URL: "https://play.example.com"
# Synology and other NAS boxes: the container runs as UID 65532 unless told
# otherwise, and your bind mount is owned by someone else. Pick ONE:
# - run as the folder's owner: `user: "1234:77777"` (see `ls -ln` on the
# host folder), or
# - `chown -R 65532:65532 /volume1/docker/ps5upload/data` on the host
# (and the same for a media/packages folder the engine can't read).
# The container log names any mounted folder it can't use at startup.
# (A USER_ID/GROUP_ID environment variable is not read by these images.)
# user: "1234:77777"
volumes:
# The engine's own state: saved servers, install history, artwork cache.
- ps5upload-data:/data
# EDIT: where your packages and game folders are. The web UI's file
# browser opens here (see PS5UPLOAD_BROWSE_ROOTS above); read-only is
# enough to install.
- /srv/ps5/pkgs:/pkgs:ro
volumes:
ps5upload-data: