# {{ ansible_managed }} version: '3.1' services: kanboard: image: kanboard/kanboard:latest volumes: - ./config.php:/var/www/app/config.php - {{ docker_kanboard_data_dir }}/{{ docker_kanboard_service_id }}/kanboard_data:/var/www/app/data - {{ docker_kanboard_data_dir }}/{{ docker_kanboard_service_id }}/kanboard_plugins:/var/www/app/plugins restart: always labels: - "traefik.enable=true" - "traefik.docker.network=traefik" - "traefik.http.routers.{{ docker_kanboard_service_id }}.entrypoints=web" - "traefik.http.routers.{{ docker_kanboard_service_id }}.rule=Host(`{{ docker_kanboard_fqdn }}`)" - "traefik.http.services.{{ docker_kanboard_service_id }}.loadbalancer.server.port=80" networks: - traefik networks: traefik: external: true