Compare commits

..

No commits in common. "5dfe809eb2731c0693eefc9e5f371b3da47b7b8c" and "5fb3939bcd05feef501f95802bda3d1a137453eb" have entirely different histories.

View file

@ -19,7 +19,6 @@ services:
# docker build -t git.plexultra.com/dlawler489/printhive:latest .
image: git.plexultra.com/dlawler489/printhive:latest
pull_policy: always
container_name: printhive-app # stable name for the Traefik file-provider to target
depends_on:
db:
condition: service_healthy
@ -35,30 +34,19 @@ services:
- uploads:/app/uploads
- thumbnails:/app/thumbnails
- glb:/app/glb
# No host port published — Traefik auto-discovers the app on the shared network.
networks:
- default # talk to the db
- traefik # reachable by Traefik
ports:
- "3000:3000"
restart: unless-stopped
labels:
- "traefik.enable=true"
# App is on two networks; tell Traefik which one to reach it on.
- "traefik.docker.network=${TRAEFIK_NETWORK:-traefik}"
- "traefik.http.routers.printhive.rule=Host(`${PRINTHIVE_HOST:-printhive.plexultra.com}`)"
- "traefik.http.routers.printhive.entrypoints=${TRAEFIK_ENTRYPOINT:-websecure}"
- "traefik.http.routers.printhive.tls.certresolver=${TRAEFIK_CERTRESOLVER:-letsencrypt}"
- "traefik.http.services.printhive.loadbalancer.server.port=3000"
# Traefik (if using labels rather than your file provider):
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.printhive.rule=Host(`printhive.plexultra.com`)"
# - "traefik.http.routers.printhive.entrypoints=websecure"
# - "traefik.http.routers.printhive.tls.certresolver=letsencrypt"
# - "traefik.http.services.printhive.loadbalancer.server.port=3000"
volumes:
pgdata:
uploads:
thumbnails:
glb:
networks:
default:
# The existing Traefik network (same one your other services use).
# Set TRAEFIK_NETWORK in Dockhand to its exact name.
traefik:
external: true
name: ${TRAEFIK_NETWORK:-traefik}