spaceapi/docker-compose.yaml

25 lines
578 B
YAML
Raw Normal View History

2024-01-18 22:22:02 +01:00
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