services:                                                                                                     
  siteward:                                                                                                        
    build: .                                                                                                  
    image: ward/web
    container_name: ward-web
    restart: always
    labels:                                                                                                   
      - "traefik.http.routers.siteward.rule=Host(`ward.truyen.network`) && PathPrefix(`/`)"                                           
      - "traefik.http.routers.siteward.entrypoints=websecure"
      - "traefik.http.routers.siteward.tls=true"
      - "traefik.http.routers.siteward.tls.certresolver=myresolver"
      - "traefik.enable=true"
