trippin-website/docker-compose.yml

21 lines
574 B
YAML

services:
trippin-prod:
build:
context: .
dockerfile: Dockerfile
image: trippin-prod:latest
container_name: trippin-prod
restart: unless-stopped
networks:
- traefik-public
labels:
- "traefik.enable=true"
- "traefik.http.routers.trippin.rule=Host(`trippinballs.lol`) || Host(`www.trippinballs.lol`)"
- "traefik.http.routers.trippin.entrypoints=web"
- "traefik.http.services.trippin.loadbalancer.server.port=80"
- "traefik.docker.network=traefik-public"
networks:
traefik-public:
external: true