Files
AFIP_Docker/docker-compose.yml
T
2023-07-25 01:26:20 +00:00

24 lines
559 B
YAML

services:
afip-last-stand:
image: thelax18/afip_last_stand:v.1.0
container_name: ${AFIP_USER}-main
network_mode: service:openvpn-client
environment:
AFIP_USER: ${AFIP_USER}
AFIP_PASS: ${AFIP_PASS}
restart: unless-stopped
depends_on:
openvpn-client:
condition: service_healthy
openvpn-client:
image: ghcr.io/wfg/openvpn-client
container_name: ${AFIP_USER}-vpn
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
volumes:
- /root/config:/data/vpn
restart: unless-stopped