diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..621c34e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +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