We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44c6510 commit d93d401Copy full SHA for d93d401
docker-compose.prod.yml
@@ -2,7 +2,9 @@ version: '3.9'
2
3
services:
4
vue:
5
- build: ./vue-spa/Dockerfile.prod
+ build:
6
+ context: ./vue-spa
7
+ dockerfile: Dockerfile.prod
8
db:
9
image: postgres
10
volumes:
@@ -12,7 +14,9 @@ services:
12
14
- POSTGRES_USER=postgres
13
15
- POSTGRES_PASSWORD=postgres
16
django:
- build: ./django/Dockerfile.prod
17
18
+ context: ./django
19
20
21
- ./django:/app
22
environment:
@@ -22,7 +26,9 @@ services:
26
depends_on:
23
27
- db
24
28
nginx:
25
- build: ./nginx/Dockerfile.prod
29
30
31
32
ports:
33
- 80:80
34
0 commit comments