forked from Zie619/n8n-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
49 lines (46 loc) · 1.15 KB
/
docker-compose.dev.yml
File metadata and controls
49 lines (46 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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