mirror of
https://github.com/Zie619/n8n-workflows.git
synced 2025-11-25 03:15:25 +08:00
* ok ok * Refactor README for better structure and readability Updated README to improve formatting and clarity. * Initial plan * Initial plan * Initial plan * Initial plan * Comprehensive deployment infrastructure implementation Co-authored-by: sahiixx <221578902+sahiixx@users.noreply.github.com> * Add comprehensive deployment infrastructure - Docker, K8s, CI/CD, scripts Co-authored-by: sahiixx <221578902+sahiixx@users.noreply.github.com> * Add files via upload * Complete deployment implementation - tested and working production deployment Co-authored-by: sahiixx <221578902+sahiixx@users.noreply.github.com> * Revert "Implement comprehensive deployment infrastructure for n8n-workflows documentation system" * Update docker-compose.prod.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update scripts/health-check.sh Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: dopeuni444 <sahiixofficial@wgmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
# Development Docker Compose Configuration
|
|
# Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up
|
|
|
|
services:
|
|
workflows-docs:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: development
|
|
volumes:
|
|
- .:/app
|
|
- /app/database
|
|
- /app/.venv
|
|
environment:
|
|
- ENVIRONMENT=development
|
|
- LOG_LEVEL=debug
|
|
- DEBUG=true
|
|
- RELOAD=true
|
|
command: ["python", "run.py", "--host", "0.0.0.0", "--port", "8000", "--dev"]
|
|
ports:
|
|
- "8000:8000"
|
|
- "8001:8001" # Alternative port for testing
|
|
profiles: [] # Enable by default
|
|
|
|
# Development database admin (optional)
|
|
db-admin:
|
|
image: adminer:latest
|
|
container_name: db-admin
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- ADMINER_DEFAULT_SERVER=workflows-docs
|
|
networks:
|
|
- workflows-network
|
|
profiles:
|
|
- dev-tools
|
|
|
|
# Development file watcher for auto-reload
|
|
file-watcher:
|
|
image: node:18-alpine
|
|
container_name: file-watcher
|
|
working_dir: /app
|
|
volumes:
|
|
- .:/app
|
|
command: ["npm", "run", "dev-watch"]
|
|
networks:
|
|
- workflows-network
|
|
profiles:
|
|
- dev-tools |