Scope file failures to their requests, preserve accurate route failures and validate Server settings before initialization. Repair source capability and observation lifetimes, restart failed WASM loading, and align playback, input and read-marker state with the owning operation.
28 lines
766 B
YAML
28 lines
766 B
YAML
name: piik
|
|
|
|
services:
|
|
piik:
|
|
image: ${PIIK_IMAGE:?Set PIIK_IMAGE to a matching Piik 3.0 Server image}
|
|
restart: unless-stopped
|
|
stop_grace_period: 20s
|
|
read_only: true
|
|
cap_drop: [ALL]
|
|
security_opt: [no-new-privileges:true]
|
|
env_file: .env
|
|
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}
|
|
ports:
|
|
- "127.0.0.1:8787:8787/tcp"
|
|
- "${PIIK_CHANNEL_UDP_PORT:-8787}:${PIIK_CHANNEL_UDP_PORT:-8787}/udp"
|
|
volumes:
|
|
- piik-data:/home/nonroot
|
|
- piik-tmp:/tmp
|
|
|
|
volumes:
|
|
piik-data:
|
|
piik-tmp:
|