25 lines
497 B
YAML
25 lines
497 B
YAML
version: '3'
|
|
|
|
services:
|
|
ipsec-vpn-server:
|
|
image: hwdsl2/ipsec-vpn-server
|
|
container_name: ipsec-vpn-server
|
|
restart: always
|
|
privileged: true
|
|
networks:
|
|
- vpn
|
|
volumes:
|
|
- /opt/vpn/vpn.env:/opt/src/env/vpn.env:ro
|
|
- /lib/modules:/lib/modules:ro
|
|
|
|
frpc:
|
|
image: registry.cn-hangzhou.aliyuncs.com/offends/frp:frpc
|
|
container_name: frpc
|
|
restart: always
|
|
networks:
|
|
- vpn
|
|
volumes:
|
|
- /opt/vpn/frpc.ini:/frp/frpc.ini:ro
|
|
|
|
networks:
|
|
vpn: |