-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 837 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (35 loc) · 837 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
version: "3.3"
services:
postgres:
container_name: 'postgres'
image: postgres
volumes:
- ./api/database/create_database.sql:/docker-entrypoint-initdb.d/init.sql
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
kanception-api:
container_name: 'kanception-api'
build: ./api
ports:
- "4000:4000"
volumes:
- type: "bind"
source: ./api
target: /home/ubuntu/api
- /home/ubuntu/api/node_modules/
depends_on:
- postgres
kanception:
container_name: 'kanception'
build: ./kanception
stdin_open: true
ports:
- "3000:3000"
depends_on:
- kanception-api
volumes:
- type: "bind"
source: ./kanception
target: /home/ubuntu/kanception
- /home/ubuntu/kanception/node_modules/