-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
57 lines (53 loc) · 1.59 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
services:
projectnext:
extends:
file: docker-compose.base.yml
service: projectnext
ports:
- 3000:3000
build:
target: dev
volumes:
- ${PROJECT_ROOT:-.}/src:/usr/src/app/src
- ${PROJECT_ROOT:-.}/src/prisma/schema:/usr/src/app/src/prisma/schema
- ${PROJECT_ROOT:-.}/package.json:/usr/src/app/package.json
- ${PROJECT_ROOT:-.}/package-lock.json:/usr/src/app/package-lock.json
- ${PROJECT_ROOT:-.}/logs:/usr/src/app/logs
- devstore:/usr/src/app/store
- dotnext:/usr/src/app/.next
db:
extends:
file: docker-compose.base.yml
service: db
ports:
- 5432:5432
volumes:
- devdb:/var/lib/postgresql/data
prisma:
extends:
file: docker-compose.base.yml
service: prisma
build:
target: dev
volumes:
- ${PROJECT_ROOT:-.}/src/prisma/schema:/usr/src/app/schema
- devstore:/usr/src/app/prismaservice/store
- dobbelOmegaManifest:/usr/src/app/prismaservice/dobbelOmegaManifest
nginx:
extends:
file: docker-compose.base.yml
service: nginx
ports:
- 80:80
volumes:
- ${PROJECT_ROOT:-.}/containers/nginx/nginx.dev.conf:/etc/nginx/nginx.conf
- devstore:/usr/store
volumes:
devdb:
driver: local
devstore:
driver: local
dotnext:
driver: local
dobbelOmegaManifest:
driver: local