feat: add frps/frpc/mineru-sgalng

This commit is contained in:
Sun-ZhenXing
2025-09-24 09:28:28 +08:00
parent 79ad907def
commit 232517b58f
11 changed files with 279 additions and 9 deletions

View File

@@ -0,0 +1,30 @@
x-default: &default
restart: unless-stopped
volumes:
- &localtime /etc/localtime:/etc/localtime:ro
- &timezone /etc/timezone:/etc/timezone:ro
logging:
driver: json-file
options:
max-size: 100m
services:
frpc:
<<: *default
image: snowdreamtech/frpc:${FRPC_VERSION:-0.64.0}
volumes:
- *localtime
- *timezone
- ./frpc.toml:/etc/frp/frpc.toml:ro
environment:
FRP_SERVER_ADDR: ${FRP_SERVER_ADDR}
FRP_SERVER_PORT: ${FRP_SERVER_PORT}
FRP_SERVER_TOKEN: ${FRP_SERVER_TOKEN}
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 64M