Files
vpn_server/compose.yml
2026-04-19 23:47:16 +03:00

18 lines
400 B
YAML

services:
vpn_server:
build:
context: .
dockerfile: Dockerfile
container_name: vpn_server
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./data:/app/data
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8080/connections > /dev/null || exit 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s