docker-compose.yml
services:
ocstest:
container_name: ocstest
image: pashasmy/ocserv:latest
environment:
VPN_DOMAIN: 'ocs.example.com'
VPN_IP: '123.123.123.123'
VPN_SUBNET: '10.255.254.0/24'
VPN_WAN: 'eth0'
VPN_DNS: '1.1.1.1'
network_mode: "host"
cap_add:
- NET_ADMIN
restart: always
privileged: true
volumes:
- ./users:/etc/ocserv/users
- /etc/letsencrypt:/etc/letsencrypt
Content type
Image
Digest
sha256:362dc0594…
Size
1 GB
Last updated
over 1 year ago
docker pull pashasmy/ocserv