20 lines
422 B
YAML
20 lines
422 B
YAML
version: "3.4"
|
|
|
|
services:
|
|
ovpn_lb_test:
|
|
build: .
|
|
container_name: ovpn_lb_test
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${bind_ip}:8000:8000"
|
|
- "${bind_ip}:7000-7001:7000-7001"
|
|
volumes:
|
|
- /dev/net:/dev/net:z
|
|
- ./config:/config
|
|
cap_add:
|
|
- net_admin
|
|
environment:
|
|
CONFIG_FOLDER: /config
|
|
INSTANCE_CONFIG: /config/instances.json
|
|
AUTH_FILE: /config/fast.txt
|