1.0 KiB
1.0 KiB
Honeymoon trip site (Flask + plain HTML/CSS/JS)
What it is
- Minimal Flask backend with session auth (credentials from
.env) - Plain frontend (no framework)
- SQLite persistence for:
- To-do list
- Expenses (JPY/EUR)
- Designed to run only inside Docker network (behind your nginx/SSL reverse proxy)
Local setup
- Create
.envfrom./.env.example - Create the external docker network (once):
docker network create misc
- Build and run:
docker compose up -d --build
The container exposes port 8000 only to the misc network (no host port published).
Reverse proxy (nginx)
Point your nginx upstream to honeymoon:8000 on the misc network.
Files
- Backend:
server.py - Templates:
templates/index.html,templates/login.html - Static:
static/app.js,static/style.css - Docker:
Dockerfile,docker-compose.yml