-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
58 lines (53 loc) · 1.11 KB
/
docker-compose.dev.yml
File metadata and controls
58 lines (53 loc) · 1.11 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
services:
postgres:
ports:
- "5432:5432"
environment:
POSTGRES_LOG_STATEMENT: all
redis:
ports:
- "6379:6379"
pgadmin:
image: dpage/pgadmin4:latest
environment:
PGADMIN_DEFAULT_EMAIL: admin@opslens.dev
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_LISTEN_PORT: 5050
ports:
- "5050:5050"
depends_on:
postgres:
condition: service_healthy
restart: unless-stopped
networks:
- opslens-network
celery-worker:
volumes:
- ./src:/app/src
environment:
LOG_LEVEL: DEBUG
command: >
celery -A src.tasks.celery_app worker
--loglevel=debug
--concurrency=2
celery-beat:
volumes:
- ./src:/app/src
environment:
LOG_LEVEL: DEBUG
command: >
celery -A src.tasks.celery_app beat
--loglevel=debug
opslens:
volumes:
- ./src:/app/src
- ./frontend/dist:/app/src/dashboard
environment:
LOG_LEVEL: DEBUG
ENVIRONMENT: development
command: >
uvicorn src.main:app
--host 0.0.0.0
--port 8000
--reload
--reload-dir src