React/Vite frontend and Express/SQLite backend for tracking visited and planned cities on a map, with per-city notes, photos, links, and participant-based sharing between family members. Includes session auth with admin-managed user accounts, an OSM/Nominatim geocoding proxy, and a single-image Docker deployment. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
22 lines
553 B
YAML
22 lines
553 B
YAML
services:
|
|
citytracker:
|
|
build: .
|
|
image: citytracker:latest
|
|
container_name: citytracker
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HOST_PORT:-3000}:3000"
|
|
environment:
|
|
NODE_ENV: production
|
|
PORT: 3000
|
|
DB_PATH: /app/data/citytracker.db
|
|
UPLOAD_DIR: /app/data/uploads
|
|
SESSION_SECRET: ${SESSION_SECRET}
|
|
ADMIN_USERNAME: ${ADMIN_USERNAME}
|
|
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
|
COOKIE_SECURE: ${COOKIE_SECURE:-false}
|
|
volumes:
|
|
- citytracker-data:/app/data
|
|
|
|
volumes:
|
|
citytracker-data:
|