services:
  luminary:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        IMAGE_PREFIX: docker.1panel.live/library/
        APK_MIRROR: mirrors.aliyun.com
        GOPROXY: https://goproxy.cn,direct
        GOSUMDB: sum.golang.google.cn
    image: ${LUMINARY_IMAGE:-registry.rc707blog.top/rose_cat707/luminary:latest}
    container_name: luminary
    restart: unless-stopped
    ports:
      - "8293:8293"
    environment:
      LUMINARY_DATA: /data
      LUMINARY_ADDR: ":8293"
    volumes:
      - luminary-data:/data

volumes:
  luminary-data:
