Skip to content

Commit a42f62c

Browse files
committed
Postgis
1 parent 3e4a5ed commit a42f62c

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,19 @@ services:
150150
POSTGRES_USER: homestead
151151
POSTGRES_PASSWORD: secret
152152

153+
### PostgreSQL PostGis Container ############################
154+
155+
postgres-postgis:
156+
build: ./postgres-postgis
157+
volumes:
158+
- postgres:/var/lib/postgresql/data
159+
ports:
160+
- "5432:5432"
161+
environment:
162+
POSTGRES_DB: homestead
163+
POSTGRES_USER: homestead
164+
POSTGRES_PASSWORD: secret
165+
153166
### Neo4j Container #########################################
154167

155168
neo4j:

postgres-postgis/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM mdillon/postgis:latest
2+
3+
CMD ["postgres"]
4+
5+
EXPOSE 5432

0 commit comments

Comments
 (0)