73 lines
1.5 KiB
YAML
73 lines
1.5 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
|
|
wireguard:
|
|
build: images/wireguard
|
|
container_name: wireguard
|
|
privileged: true
|
|
# ports:
|
|
# - "3443:3443"
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- SYS_MODULE
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
sysctls:
|
|
- net.ipv4.conf.all.src_valid_mark=0
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
|
- net.ipv4.ip_forward=1
|
|
# restart: unless-stopped
|
|
volumes:
|
|
- ./wireguard/wg0.conf:/config/wg0.conf
|
|
- /lib/modules:/lib/modules
|
|
- ./iptables.sh:/config/custom-cont-init.d/iptables.sh
|
|
networks:
|
|
pg_opn:
|
|
ipv4_address: 10.255.251.254
|
|
pg_vpn:
|
|
ipv4_address: 10.255.252.254
|
|
|
|
acunetix:
|
|
build: images/acunetix
|
|
container_name: acunetix
|
|
privileged: true
|
|
restart: unless-stopped
|
|
#ports:
|
|
# - "3443:3443"
|
|
volumes:
|
|
- ./acunetix/license:/home/acunetix/.acunetix/data/license
|
|
- ./awvs.sh:/awvs/awvs.sh
|
|
depends_on:
|
|
- wireguard
|
|
extra_hosts:
|
|
erp.acunetix.com: 127.0.0.1
|
|
updates.acunetix.com: 127.0.0.1
|
|
networks:
|
|
pg_vpn:
|
|
ipv4_address: 10.255.252.252
|
|
|
|
proxy:
|
|
image: haproxytech/haproxy-alpine
|
|
restart: always
|
|
ports:
|
|
- "3443:3443"
|
|
volumes:
|
|
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
|
|
- ./domain.pem:/domain.pem
|
|
networks:
|
|
pg_opn:
|
|
ipv4_address: 10.255.251.253
|
|
pg_vpn:
|
|
ipv4_address: 10.255.252.253
|
|
|
|
|
|
networks:
|
|
pg_opn:
|
|
external:
|
|
name: pg_opn
|
|
pg_vpn:
|
|
external:
|
|
name: pg_vpn
|