22 lines
615 B
YAML
22 lines
615 B
YAML
name: frps-dev
|
|
services:
|
|
frps-dev:
|
|
image: snowdreamtech/frps:0.65.0
|
|
container_name: frps-dev
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
ports:
|
|
# Dev tunnel ingress (dev frpc clients connect here). Public port 7001.
|
|
- "127.0.0.1:7001:7001"
|
|
# Dashboard/API port 7500 unpublished. bandwidth-worker-dev reaches it
|
|
# internally via frps-dev:7500 on the dev_edge network.
|
|
volumes:
|
|
- ./frps.toml:/etc/frp/frps.toml:ro
|
|
command: ["frps", "-c", "/etc/frp/frps.toml"]
|
|
networks:
|
|
- dev_edge
|
|
networks:
|
|
dev_edge:
|
|
external: true
|