-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
48 lines (43 loc) · 1.05 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
48 lines (43 loc) · 1.05 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
version: '3.8'
# Development overrides for docker-compose.yml
# Usage: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
services:
hipcortex:
build:
context: .
dockerfile: Dockerfile.dev
volumes:
- .:/app
- /app/target # Anonymous volume for target directory
environment:
- RUST_LOG=debug
- RUST_BACKTRACE=1
- CARGO_WATCH=1
command: ["cargo", "watch", "-x", "run"]
# Add pgAdmin for database management in development
pgadmin:
image: dpage/pgadmin4:latest
environment:
- PGADMIN_DEFAULT_EMAIL=admin@hipcortex.dev
- PGADMIN_DEFAULT_PASSWORD=admin
ports:
- "8081:80"
volumes:
- pgadmin_data:/var/lib/pgadmin
depends_on:
- postgres
profiles:
- dev-tools
# Redis Commander for Redis management
redis-commander:
image: rediscommander/redis-commander:latest
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "8082:8081"
depends_on:
- redis
profiles:
- dev-tools
volumes:
pgadmin_data: