1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update frp

This commit is contained in:
kev 2021-11-08 16:16:06 +08:00
parent a0d69eed43
commit d3faaf2058
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,10 @@ services:
image: vimagick/frp
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
healthcheck:
test: ["CMD", "curl", "-f", "-u", "admin:admin", "http://127.0.0.1:7500/healthz"]
interval: 1m
timeout: 5s
network_mode: host
restart: unless-stopped
```

View File

@ -4,5 +4,9 @@ services:
image: vimagick/frp
volumes:
- ./data/frps.ini:/opt/frp/frps.ini
healthcheck:
test: ["CMD", "curl", "-f", "-u", "admin:admin", "http://127.0.0.1:7500/healthz"]
interval: 1m
timeout: 5s
network_mode: host
restart: unless-stopped