-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
55 lines (48 loc) · 1010 Bytes
/
docker-compose.yml
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
version: "3.7"
services:
db:
image: postgres
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- "5432"
healthcheck:
test: "exit 0"
web:
build:
context: .
dockerfile: Dockerfile
shm_size: 2gb
command: python manage.py runserver 0.0.0.0:8000
volumes:
- ./webcdi:/app
ports:
- "8000:8000"
env_file:
- .env
depends_on:
- db
mail:
platform: linux/x86_64
image: mailhog/mailhog:latest
ports:
- "8025:8025"
pgadmin:
image: dpage/pgadmin4:latest
depends_on:
- db
ports:
- "5051"
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
selenium:
image: selenium/standalone-firefox:latest
ports:
- 4444:4444
shm_size: 2gb
volumes:
postgres_data: