-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.override.yml
More file actions
69 lines (65 loc) · 1.83 KB
/
docker-compose.dev.override.yml
File metadata and controls
69 lines (65 loc) · 1.83 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# ============================================
# PropManager Development Override - Custom Ports
# ============================================
services:
db:
ports:
- "5433:5432" # Use different host port
environment:
POSTGRES_PASSWORD: devpassword
redis:
ports:
- "6380:6379" # Use different host port
web:
build:
target: development
container_name: propmanager-web-dev
volumes:
- .:/app
- /app/__pycache__
- /app/.git
- /app/staticfiles
- /app/node_modules
- dev_static:/app/staticfiles
environment:
- DJANGO_SETTINGS_MODULE=config.settings.development
- DATABASE_URL=postgres://propmanager:devpassword@db:5432/propmanager
- REDIS_URL=redis://redis:6379/0
- DEBUG=True
- ALLOWED_HOSTS=localhost,127.0.0.1,192.168.50.10,propdemo.arctek.us
- SITE_URL=https://propdemo.arctek.us
- DEV_OTP_CODE=123456
- SECRET_KEY=dev-secret-key-not-for-production-use-only
env_file: []
ports:
- "8001:8000"
command: ["python", "manage.py", "runserver", "0.0.0.0:8000"]
healthcheck:
disable: true
user: root
worker:
build:
target: development
container_name: propmanager-worker-dev
volumes:
- .:/app
- /app/__pycache__
- /app/.git
environment:
- DJANGO_SETTINGS_MODULE=config.settings.development
- DATABASE_URL=postgres://propmanager:devpassword@db:5432/propmanager
- REDIS_URL=redis://redis:6379/0
- SECRET_KEY=dev-secret-key-not-for-production-use-only
env_file: []
command: ["python", "manage.py", "qcluster"]
user: root
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
web:
condition: service_started
volumes:
dev_static:
name: propmanager-dev-static