-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-dev.yml
58 lines (51 loc) · 1.1 KB
/
docker-compose-dev.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
56
57
58
version: "3"
volumes:
postgres-data:
services:
server:
image: django-angular-server
container_name: django-angular-server
command: sh
tty: true
volumes:
- .:/code
ports:
- "8000:8000"
- "9000:9000"
depends_on:
- postgres
client:
image: django-angular-client
container_name: django-angular-client
command: bash -c "yarn && sh"
tty: true
volumes:
- .:/code
ports:
- "3000:3000"
postgres:
image: postgres:9.6
container_name: django-angular-postgres
volumes:
- postgres-data:/var/lib/postgresql
environment:
POSTGRES_PASSWORD: webuser
POSTGRES_USER: webuser
POSTGRES_DB: webapp
e2e:
image: webnicer/protractor-headless
container_name: e2e
privileged: true
network_mode: "host"
volumes:
- ./client:/protractor
- /dev/shm:/dev/shm
codegen:
image: swaggerapi/swagger-generator
container_name: django-angular-codegen
environment:
- GENERATOR_HOST=http://192.168.99.100
ports:
- 8222:8080
volumes:
- ./client/swagger:/gen