toadstoolTally/docker-compose.yml
chris 6f97d817ae Add drag-to-reorder, PDF/EPUB pattern viewing, and account security improvements
- Let projects and parts be reordered via touch/mouse-friendly drag handles
- Support PDF and EPUB pattern files end-to-end (upload, page-flip viewer, EPUB content extraction)
- Move password hashing to bcrypt with automatic migration from legacy SHA-256, and add email-based password reset
- Externalize docker-compose credentials into .env instead of hardcoding them
- Polish Pattern Composer UI (collapsible spec cards, tag input, file attach/view controls)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-19 11:39:23 -04:00

38 lines
716 B
YAML

services:
db:
image: postgres:15-alpine
restart: unless-stopped
env_file: .env
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5440:5432"
api:
build: .
# restart: unless-stopped
env_file: .env
volumes:
- .:/app
- /app/server/node_modules
- /app/node_modules
working_dir: /app
depends_on:
- db
ports:
- "4000:4000"
- "8080:8080"
command: >
sh -c "
npm install &&
cd server && npm install && cd .. &&
npm run dev
"
volumes:
db_data: