Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
- Create Gitea Actions workflow for automated Docker builds on push to main - Add docker-compose.portainer.yml for production Portainer deployment - Create comprehensive DEPLOYMENT.md guide with step-by-step instructions - Update CLAUDE.md with CI/CD pipeline documentation Images are built and pushed to Gitea registry at: code.puffinoffset.com/matt/puffin-app:latest code.puffinoffset.com/matt/puffin-app:main-<sha> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
853 B
YAML
30 lines
853 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
web:
|
|
image: code.puffinoffset.com/matt/puffin-app:latest
|
|
ports:
|
|
- "3800:3800"
|
|
environment:
|
|
- NODE_ENV=production
|
|
restart: unless-stopped
|
|
volumes:
|
|
# Mount .env file for runtime environment variable injection
|
|
- ./.env:/usr/share/nginx/html/.env:ro
|
|
# Optional: override nginx config if needed
|
|
# - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
|
|
# Production deployment notes:
|
|
# 1. Ensure .env file exists on the host with required variables:
|
|
# - VITE_WREN_API_TOKEN
|
|
# - VITE_FORMSPREE_CONTACT_ID
|
|
# - VITE_FORMSPREE_OFFSET_ID
|
|
#
|
|
# 2. Configure Gitea registry authentication in Portainer before deploying
|
|
#
|
|
# 3. To update to new image:
|
|
# - Navigate to stack in Portainer
|
|
# - Click "Update the stack"
|
|
# - Enable "Pull latest image version"
|
|
# - Click "Update"
|