Files
WealthySmart/docker-compose.prod.yml
Carlos Escalante 750d54faa7 Add landing page, Docker setup, and CI/CD pipeline
React + Vite + TypeScript + Tailwind frontend with landing page,
Docker Compose for dev and prod (nginx-proxy integration),
and Gitea Actions workflow for automated deployment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 09:06:14 -06:00

25 lines
597 B
YAML

services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.prod
container_name: wealthysmart-frontend-prod
restart: unless-stopped
environment:
VIRTUAL_HOST: wealthy.cescalante.dev
LETSENCRYPT_HOST: wealthy.cescalante.dev
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
expose:
- "80"
networks:
- nginx-prod-network
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://127.0.0.1/"]
interval: 30s
timeout: 10s
retries: 3
networks:
nginx-prod-network:
external: true