Public-cloud deployment of a single-user expense tracker: - 4-container stack: Caddy (HTTPS via Let's Encrypt), nginx (React/Vite SPA), Express API, Postgres 16 - Repeatable deployment via prepare-app.sh using only OCI CLI (no web console) - Persistent Postgres volume, auto-restart policies, healthchecks, backup + restore scripts - DuckDNS dynamic DNS for the public hostname; secrets isolated to gitignored .env Author: Gigi Saji Live URL: https://savesave.duckdns.org
29 lines
264 B
Plaintext
29 lines
264 B
Plaintext
# Secrets — NEVER commit
|
|
.env
|
|
*.env.local
|
|
*.pem
|
|
*.key
|
|
oci_api_key*
|
|
.oci/
|
|
|
|
# Runtime state
|
|
backups/
|
|
logs/
|
|
caddy_data/
|
|
caddy_config/
|
|
postgres_data/
|
|
|
|
# Build artifacts
|
|
node_modules/
|
|
dist/
|
|
build/
|
|
.vite/
|
|
*.log
|
|
|
|
# OS / editor
|
|
.DS_Store
|
|
Thumbs.db
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|