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
28 lines
631 B
YAML
28 lines
631 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
app:
|
|
build: .
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./logs:/app/logs
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- NODE_ENV=development
|
|
- FRPC_SERVER_ADDR=127.0.0.1
|
|
- FRPC_SERVER_PORT=7000
|
|
- FRPC_TOKEN=your-secret-token
|
|
depends_on:
|
|
- frpc
|
|
restart: unless-stopped
|
|
|
|
frpc:
|
|
image: snowdreamtech/frpc:latest
|
|
container_name: frpc
|
|
volumes:
|
|
- ./data/frpc.toml:/etc/frp/frpc.toml:ro
|
|
restart: unless-stopped
|
|
# Use host network for easier local development
|
|
network_mode: "host"
|