Commit 1e2a7134 authored by Ara4Sh's avatar Ara4Sh

Adding a sample docker-compose.yml file

parent 5b85d6f9
version: '3.0'
services:
ocserv:
image: tommylau/ocserv
restart: always
container_name: ocserv
privileged: true
hostname: www.example.com
ports:
- 443:443/udp
- 443:443
volumes:
- "/opt/ocserv:/etc/ocserv"
environment:
- CA_CN=VPN CA
- CA_ORG=Big Corp
- CA_DAYS=9999
- SRV_CN=www.example.com
- SRV_ORG=My Company
- SRV_DAYS=9999
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment