-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
48 lines (40 loc) · 872 Bytes
/
docker-compose.dev.yml
File metadata and controls
48 lines (40 loc) · 872 Bytes
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
version: "3.9"
services:
db:
image: postgres:latest
container_name: postgres
ports:
- 5432:5432
environment:
- POSTGRES_DB=main
- POSTGRES_USER=django
- POSTGRES_PASSWORD=django
volumes:
- postgres-data:/var/lib/postgresql/data/
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: 'pg_pass'
ports:
- "5050:80"
rabbitmq:
image: "rabbitmq:alpine"
container_name: rabbitmq
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 30s
retries: 3
redis:
image: redis:latest
container_name: redis
ports:
- 6379:6379
volumes:
- redis-data:/data
volumes:
postgres-data:
redis-data: