Skip to content

Instantly share code, notes, and snippets.

@xavivars
Created December 23, 2019 17:20
Show Gist options
  • Save xavivars/52e3dbce1360278c41183a2941df76f1 to your computer and use it in GitHub Desktop.
Save xavivars/52e3dbce1360278c41183a2941df76f1 to your computer and use it in GitHub Desktop.
version: '3'
services:
conjugador:
image: conjugador
labels:
- "traefik.enable=true"
- "traefik.http.routers.conjugador.entrypoints=softcatala"
- "traefik.http.routers.conjugador.service=conjugador"
- "traefik.http.routers.conjugador.rule=PathPrefix(`/api/conjugador`)"
- "traefik.http.services.conjugador.loadbalancer.server.port=8000"
- "traefik.http.routers.conjugador.middlewares=conjugador-stripprefix"
- "traefik.http.middlewares.conjugador-stripprefix.stripprefix.prefixes=/api/conjugador"
networks:
default:
external:
name: softcatala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment