forked from wkrzywiec/kanban-board
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
41 lines (36 loc) · 836 Bytes
/
docker-compose.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
version: '3'
services:
kanban-postgres:
image: "postgres:9.6-alpine"
container_name: kanban-postgres
volumes:
- kanban-data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
- POSTGRES_DB=kanban
- POSTGRES_USER=kanban
- POSTGRES_PASSWORD=kanban
kanban-app:
image: moreytech/kanban-board-k8s-demo:app-latest
build: ./kanban-app
container_name: kanban-app
environment:
- DB_SERVER=kanban-postgres
- POSTGRES_DB=kanban
- POSTGRES_USER=kanban
- POSTGRES_PASSWORD=kanban
ports:
- 8080:8080
links:
- kanban-postgres
kanban-ui:
image: moreytech/kanban-board-k8s-demo:ui-latest
build: ./kanban-ui
container_name: kanban-ui
ports:
- 4200:80
links:
- kanban-app
volumes:
kanban-data: