29 lines
678 B
YAML
29 lines
678 B
YAML
version: "3.9"
|
|
services:
|
|
openvpn:
|
|
image: ghcr.io/linuxserver/openvpn-as
|
|
cap_add:
|
|
- NET_ADMIN
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
TZ: Europe/Paris
|
|
# INTERFACE: eth0 #optional
|
|
volumes:
|
|
- config:/config
|
|
ports:
|
|
# - 943:943 # web
|
|
# - 9443:9443
|
|
- 1194:1194/udp
|
|
deploy:
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.openvpn.rule: >
|
|
Host(`vpn.marcpartensky.fr`)
|
|
traefik.http.routers.openvpn.entrypoints: websecure
|
|
traefik.http.routers.openvpn.tls.certresolver: tls
|
|
traefik.http.services.openvpn.loadbalancer.server.port: 943
|
|
|
|
volumes:
|
|
config:
|