3x-ui/node/docker-compose.yml

24 lines
658 B
YAML
Raw Normal View History

2026-01-05 21:12:53 +00:00
services:
node:
build:
context: ..
dockerfile: node/Dockerfile
container_name: 3x-ui-node
restart: unless-stopped
2026-01-13 08:57:55 +00:00
#environment:
#- NODE_API_KEY=test-key
2026-01-13 08:57:55 +00:00
#- PANEL_URL=http://192.168.0.7:2054
2026-01-05 21:12:53 +00:00
ports:
2026-01-13 08:57:55 +00:00
- "8080:8080" # API ports (connect panel)
# - "44000:44000" # Xray ports = Inbound port
2026-01-09 12:36:14 +00:00
volumes:
- ./bin/config.json:/app/bin/config.json
- ./logs:/app/logs
# Note: config.json is mounted directly for persistence
# If the file doesn't exist, it will be created when XRAY config is first applied
networks:
- xray-network
2026-01-05 21:12:53 +00:00
networks:
xray-network:
driver: bridge