-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevelopment-docker-compose.yml
More file actions
55 lines (51 loc) · 1.03 KB
/
development-docker-compose.yml
File metadata and controls
55 lines (51 loc) · 1.03 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
version: '3.4'
services:
#Database image
db_development:
build:
context: .
dockerfile: DOCKERFILE.db.development
image: db_development
ports:
- 5439:5432
environment:
- POSTGRES_PASSWORD
- DATABASE_OWNER
- TEAM_PASSWORD
#Django Rest Framework
api_development:
build:
context: .
dockerfile: DOCKERFILE.api.development
image: api_development
command: ./bin/development-docker-entrypoint.sh
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db_development
environment:
- PROJECT_NAME
- DEBUG=True
- POSTGRES_USER
- POSTGRES_NAME
- POSTGRES_HOST
- POSTGRES_PORT
- POSTGRES_PASSWORD
- DJANGO_SECRET_KEY
#Selenium Hub
hub:
image: selenium/hub:3
ports:
- 4444:4444
#Selenium Chrome Node
chrome:
image: selenium/node-chrome:3.141.59-oxygen
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
- HUB_HOST=hub
- HUB_PORT=4444