diff options
| author | Adam Malczewski <[email protected]> | 2026-03-15 15:46:00 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-15 15:46:00 +0900 |
| commit | 0254a6936139801ee10fac27cc5032258d13051d (patch) | |
| tree | 2169ab1a0d7c4979947f999e9e57a8e1be19b299 /docker-compose.prod.yml | |
| parent | e30116153f29ea8b634c31c080130f1a5d6f0d06 (diff) | |
| download | tirecalc-0254a6936139801ee10fac27cc5032258d13051d.tar.gz tirecalc-0254a6936139801ee10fac27cc5032258d13051d.zip | |
Diffstat (limited to 'docker-compose.prod.yml')
| -rw-r--r-- | docker-compose.prod.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml new file mode 100644 index 0000000..131e865 --- /dev/null +++ b/docker-compose.prod.yml @@ -0,0 +1,27 @@ +# -------------------------------------------------------------------------- +# docker-compose.prod.yml — Production deployment for the Bicycle Wheel +# Circumference app. +# +# Builds a static bundle and serves it with Nginx on port 80. +# Designed for use with Dokploy (Traefik handles TLS and routing). +# +# Local usage: +# docker compose -f docker-compose.prod.yml up -d --build +# → open http://localhost:80 +# +# Dokploy usage: +# Set the Compose Path to ./docker-compose.prod.yml in Dokploy. +# Dokploy will inject Traefik labels and the dokploy-network +# automatically — do NOT add them here. +# -------------------------------------------------------------------------- + +services: + web: + build: + context: . + dockerfile: Dockerfile.prod + restart: unless-stopped + # No ports mapping needed when behind Traefik/Dokploy. + # Uncomment the line below for local testing without a reverse proxy. + # ports: + # - "80:80" |
