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