Skip to content

Commit fb838dd

Browse files
committed
Add docker-compose.yml
1 parent 83fef90 commit fb838dd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# docker-compose up
2+
3+
version: '3'
4+
services:
5+
web:
6+
environment:
7+
- POSTGRES_HOST=postgres
8+
image: 'gobylang/todo-sample:latest'
9+
links:
10+
- postgres
11+
ports:
12+
- 3000:3000
13+
postgres:
14+
environment:
15+
- POSTGRES_DB=goby_test
16+
- POSTGRES_USER=postgres
17+
image: 'postgres:latest'
18+
ports:
19+
- '5432'
20+

0 commit comments

Comments
 (0)