Kubernetes/File/Yaml/docker-compose-frpc.yaml
offends 7a2f41e7d6
All checks were successful
continuous-integration/drone Build is passing
synchronization
2024-08-07 18:54:39 +08:00

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: