-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (39 loc) · 864 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (39 loc) · 864 Bytes
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
---
version: '3.0'
services:
feedbackbuch-db:
image: postgres:13.0
environment:
POSTGRES_PASSWORD: randomtest1
POSTGRES_USER: feedbackbuch
POSTGRES_DB: feedbackbuch
volumes:
- db:/var/lib/postgresql/data
networks:
- internal
feedbackbuch-backend:
build: server
image: "feedbackbuch-backend:latest"
ports:
- "127.0.0.1:8081:8081"
env_file:
- server/feedbackbuch-backend.env
networks:
- internal
depends_on:
- feedbackbuch-db
feedbackbuch-frontend:
build:
context: frontend
args:
SERVER_HTTP: http://localhost:8081/query
SERVER_WS: ws://localhost:8081/query
image: "feedbackbuch-frontend:latest"
ports:
- "127.0.0.1:8080:80"
depends_on:
- feedbackbuch-backend
networks:
internal: {}
volumes:
db: {}