Skip to content

Commit 75cc436

Browse files
committed
makefile
1 parent 4f13309 commit 75cc436

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
up:
3+
docker-compose up -d
4+
5+
down:
6+
docker-compose down -v
7+
8+
ssh:
9+
docker exec -it postgres /bin/bash

docker-compose.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: '2'
2+
services:
3+
postgres:
4+
container_name: postgres
5+
image: pyramation/postgis
6+
environment:
7+
- "POSTGRES_USER=postgres"
8+
- "POSTGRES_PASSWORD=password"
9+
ports:
10+
- "5432:5432"
11+
expose:
12+
- "5432"
13+
# volumes:
14+
# - ./packages:/sql-extensions
15+
# - ./node_modules:/sql-modules

0 commit comments

Comments
 (0)