mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
feat(player): add %previous, %replay, livekit skip guard, and nodelink auto-reconnect (#11, #13, #18, #19, #23)
This commit is contained in:
1 parent
53d0990ebe
commit
e33fbb2fdb
14 files changed
+348
-31
No files matched your search
@@ -62,24 +62,22 @@ services:
|
||||
- remix-net
|
||||
|
||||
nodelink:
|
||||
image: node:22-bookworm-slim
|
||||
image: ghcr.io/performanc/nodelink:latest
|
||||
container_name: remix-nodelink
|
||||
restart: unless-stopped
|
||||
working_dir: /nodelink
|
||||
command: sh -c "if [ ! -f package.json ]; then npm init -y && npm install @performanc/nodelink; fi; node node_modules/@performanc/nodelink/index.js || node index.js"
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
volumes:
|
||||
- nodelink_data:/nodelink
|
||||
- ./nodelink.config.json:/nodelink/config.json:ro
|
||||
- nodelink_data:/app/.cache
|
||||
- ./nodelink.config.json:/app/config.json:ro
|
||||
ports:
|
||||
- "${NODELINK_PORT:-3000}:3000"
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "require('net').connect(3000,'127.0.0.1').on('connect',function(){process.exit(0)}).on('error',function(){process.exit(1)})"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
start_period: 60s
|
||||
test: ["CMD-SHELL", "node -e \"require('net').connect(3000,'127.0.0.1').on('connect',function(){process.exit(0)}).on('error',function(){process.exit(1)})\""]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
networks:
|
||||
- remix-net
|
||||
|
||||
|
||||
Reference in new issue
Block a user