Changes: - docker-compose.yml: Change from external volume to managed volume - Volume name: nlcc-data → data - Docker Compose auto-prefixes: nlcc-itinerary_data - Remove external: true flag - Volume created automatically on first up - README.md: Update all volume references - Installation: Remove manual volume creation step - Volume name: nlcc-data → nlcc-itinerary_data - Add note about automatic creation - Update all backup/restore/inspect commands Benefits: - No manual volume creation required - Docker Compose manages lifecycle automatically - Project-scoped volume naming (nlcc-itinerary_data) - Cleaner deployment process (one less step) - Volume automatically created on docker-compose up - Consistent with Docker Compose best practices The volume will be created as "nlcc-itinerary_data" where: - nlcc-itinerary = project directory name - data = volume name defined in docker-compose.yml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
806 B
YAML
26 lines
806 B
YAML
services:
|
|
nlcc-itinerary:
|
|
image: glcr.rydertech.us/ryder/nlcc-itinerary:latest
|
|
container_name: nlcc-itinerary
|
|
ports:
|
|
- "3002:3000"
|
|
volumes:
|
|
- data:/app/data
|
|
environment:
|
|
- NODE_ENV=production
|
|
- SITE_URL=https://church.example.com
|
|
# Optional: Customize admin username (default: "admin")
|
|
# - ADMIN_USERNAME=admin
|
|
# Optional: Set custom admin password (otherwise auto-generated)
|
|
# - ADMIN_PASSWORD=your-secure-password
|
|
# Email configuration for password resets and notifications
|
|
- EMAIL_HOST=smtp.example.com
|
|
- EMAIL_PORT=587
|
|
- EMAIL_USER=noreply@example.com
|
|
- EMAIL_PASSWORD=your-email-password
|
|
- EMAIL_FROM=New Life Christian Church <noreply@example.com>
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
data:
|