First
Some checks failed
Build All Docker Images / changes (push) Has been cancelled
Build and Push App Docker Image / build (push) Has been cancelled
Build and Push Node Docker Image / build (push) Has been cancelled
Test and Lint / test-app (push) Has been cancelled
Test and Lint / test-node (push) Has been cancelled
Test and Lint / lint-dockerfiles (push) Has been cancelled
Test and Lint / security-scan (push) Has been cancelled
Build All Docker Images / build-app (push) Has been cancelled
Build All Docker Images / build-node (push) Has been cancelled
Build All Docker Images / summary (push) Has been cancelled
Some checks failed
Build All Docker Images / changes (push) Has been cancelled
Build and Push App Docker Image / build (push) Has been cancelled
Build and Push Node Docker Image / build (push) Has been cancelled
Test and Lint / test-app (push) Has been cancelled
Test and Lint / test-node (push) Has been cancelled
Test and Lint / lint-dockerfiles (push) Has been cancelled
Test and Lint / security-scan (push) Has been cancelled
Build All Docker Images / build-app (push) Has been cancelled
Build All Docker Images / build-node (push) Has been cancelled
Build All Docker Images / summary (push) Has been cancelled
This commit is contained in:
commit
4169337dd0
68 changed files with 8726 additions and 0 deletions
39
app/docker-compose.yml
Normal file
39
app/docker-compose.yml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
# Main application (Express API + React frontend)
|
||||
app:
|
||||
build: .
|
||||
container_name: frp-manager
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- ./logs:/app/logs
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- FRPC_SERVER_ADDR=${FRPC_SERVER_ADDR:-your-vps-ip}
|
||||
- FRPC_SERVER_PORT=${FRPC_SERVER_PORT:-7000}
|
||||
- FRPC_TOKEN=${FRPC_TOKEN}
|
||||
- NODE_URL=${NODE_URL}
|
||||
- NODE_TOKEN=${NODE_TOKEN}
|
||||
- NODE_TIMEOUT=${NODE_TIMEOUT:-5000}
|
||||
depends_on:
|
||||
- frpc
|
||||
restart: unless-stopped
|
||||
|
||||
# FRPC client container
|
||||
frpc:
|
||||
image: snowdreamtech/frpc:latest
|
||||
container_name: frpc
|
||||
volumes:
|
||||
- ./data/frpc.toml:/etc/frp/frpc.toml
|
||||
depends_on:
|
||||
- app
|
||||
restart: unless-stopped
|
||||
network_mode: "host"
|
||||
|
||||
volumes:
|
||||
data:
|
||||
logs:
|
||||
Loading…
Add table
Add a link
Reference in a new issue