version: "3.8" services: api: image: gitea.rannes.dev/rannes.dev/sw-jobs-api:latest networks: - traefik-proxy ports: - "3600:5000" volumes: - /appdata/sw-jobs/scrapers:/app/scrapers environment: - FLASK_ENV=production labels: - traefik.enable=true - traefik.http.routers.swJobsRouter.rule=Host(`api.rannes.dev`) - traefik.http.routers.swJobsRouter.tls=true - traefik.http.routers.swJobsRouter.entryPoints=https - traefik.http.routers.swJobsRouter.middlewares=crowdsec-bouncer@docker scraper: image: gitea.rannes.dev/rannes.dev/sw-jobs-scraper:latest volumes: - /appdata/sw-jobs/scrapers:/app networks: traefik-proxy: external: true