services:
  zoraxy:
    image: zoraxydocker/zoraxy:latest
    container_name: zoraxy
    restart: unless-stopped
    ports:
      - 80:80
      - 443:443
      - 8000:8000
    volumes:
      - /volume1/docker/zoraxy/:/opt/zoraxy/config/
      - /volume1/docker/zerotier:/var/lib/zerotier-one/
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime
    environment:
      FASTGEOIP: "true"
      ZEROTIER: "true"
    networks:
      default:
        ipv4_address: 192.168.1.x

networks:
  default:
    name: macvlan
    external: true