fix(container): publish Rust Server media UDP entry
This commit is contained in:
1 parent
f12370cccf
commit
6f18ec9b3f
3 files changed
+8
-1
No files matched your search
@@ -8,5 +8,10 @@ PIIK_CHANNEL_INVITE_KEY=
|
||||
# Optional WebRTC ICE server JSON; defaults to the shared public STUN choices.
|
||||
# PIIK_CHANNEL_ICE_SERVERS=[{"urls":["stun:stun.cloudflare.com:3478"]}]
|
||||
|
||||
# Rust Server media uses this direct UDP port; allow it through the host firewall.
|
||||
PIIK_CHANNEL_UDP_PORT=8787
|
||||
# Optional fixed public IP:port when NAT or a UDP tunnel changes the reachable address.
|
||||
# PIIK_CHANNEL_UDP_PUBLIC_ADDRESS=203.0.113.10:8787
|
||||
|
||||
# To pin a release, replace latest with its vMAJOR.MINOR.PATCH tag.
|
||||
# PIIK_IMAGE=ghcr.io/tntcrafthim/piik:latest
|
||||
@@ -15,5 +15,5 @@ COPY --chmod=0444 LICENSE THIRD-PARTY-NOTICES.txt REVISION /app/
|
||||
COPY web/ /app/web/
|
||||
ENV PIIK_CHANNEL_BIND_ADDRESS=0.0.0.0 PIIK_CHANNEL_PORT=8787 PIIK_CHANNEL_DATA_DIR=/home/nonroot
|
||||
USER 65532:65532
|
||||
EXPOSE 8787/tcp
|
||||
EXPOSE 8787/tcp 8787/udp
|
||||
ENTRYPOINT ["/app/piik-server"]
|
||||
@@ -12,11 +12,13 @@ services:
|
||||
environment:
|
||||
PIIK_CHANNEL_BIND_ADDRESS: 0.0.0.0
|
||||
PIIK_CHANNEL_PORT: 8787
|
||||
PIIK_CHANNEL_UDP_PORT: ${PIIK_CHANNEL_UDP_PORT:-8787}
|
||||
PIIK_CHANNEL_DATA_DIR: /home/nonroot
|
||||
PIIK_CHANNEL_OWNER_KEY: ${PIIK_CHANNEL_OWNER_KEY:?Set a private stable owner key}
|
||||
PIIK_CHANNEL_INVITE_KEY: ${PIIK_CHANNEL_INVITE_KEY:?Set a separate stable invitation key}
|
||||
ports:
|
||||
- "127.0.0.1:8787:8787/tcp"
|
||||
- "${PIIK_CHANNEL_UDP_PORT:-8787}:${PIIK_CHANNEL_UDP_PORT:-8787}/udp"
|
||||
volumes:
|
||||
- piik-data:/home/nonroot
|
||||
|
||||
|
||||
Reference in new issue
Block a user