Skip to content

Commit 801d759

Browse files
committed
Add docker-compose.yml
1 parent f87bf00 commit 801d759

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: '3'
2+
services:
3+
postgres:
4+
image: postgres:alpine
5+
environment:
6+
POSTGRES_PASSWORD: marcus
7+
POSTGRES_USER: marcus
8+
POSTGRES_DB: example
9+
volumes:
10+
- ./db/structure.sql:/docker-entrypoint-initdb.d/1.sql
11+
- ./db/data.sql://docker-entrypoint-initdb.d/2.sql
12+
ports:
13+
- 5432:5432
14+
restart: always

0 commit comments

Comments
 (0)