6e94e7338e
- Add Dockerfile and docker-compose.yml for containerized deployment - Rewrite install.sh for Docker-based setup (multi-distro support) - Add Go module files (go.mod, go.sum) for WGRplane backend - Add wgrplane.service systemd unit for Go backend - Add CI verification scripts in scripts/ - Update README.md with Docker deployment docs - Update .gitignore for binaries and .sisyphus/
31 lines
627 B
YAML
31 lines
627 B
YAML
version: "3.8"
|
|
services:
|
|
wgrplane:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "10087:10087"
|
|
volumes:
|
|
- ./wgrplane-data:/var/lib/wgrplane
|
|
- ./wireguard-config:/etc/wireguard
|
|
depends_on:
|
|
- wireguard
|
|
restart: unless-stopped
|
|
|
|
wireguard:
|
|
image: ghcr.io/linuxserver/wireguard:latest
|
|
container_name: wireguard
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- SYS_MODULE
|
|
network_mode: "host"
|
|
volumes:
|
|
- /etc/wireguard:/config
|
|
- /lib/modules:/lib/modules
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=UTC
|
|
restart: unless-stopped
|