version: "3.9" x-traefik-label: &traefik-label traefik.enable: true traefik.http.routers.halo.service: halo traefik.http.services.halo.loadbalancer.server.port: 8090 services: halo: image: halohub/halo:2.8 container_name: halo hostname: halo labels: <<: *traefik-label privileged: true user: root expose: - "8090" volumes: - /volume5/storage/docker-data/halo/data/:/root/.halo2/ command: - --spring.sql.init.platform=mysql - --spring.r2dbc.url=r2dbc:pool:mysql://:3306/halo - --spring.r2dbc.username= - --spring.r2dbc.password= - --halo.security.initializer.superadminusername= - --halo.security.initializer.superadminpassword= restart: always