spaceapi/docker-compose.yaml

25 lines
578 B
YAML

version: '3.8'
services:
spaceapi:
image: spaceapi
build:
context: src
networks:
- ingress
- default
deploy:
labels:
- "shepherd.auto-update=true"
- "traefik.enable=true"
- "traefik.http.services.spaceapi.loadbalancer.server.port=5000"
- "traefik.http.routers.spaceapi.rule=Host(`api.montage2.de`)||Host(`api.chaoswest.tv`)"
- "traefik.http.routers.spaceapi.tls=true"
- "traefik.http.routers.spaceapi.tls.certresolver=default"
networks:
ingress:
external: true
name: traefik