Skip to content

Commit

Permalink
Merge pull request GeoNode#90 from JivanAmara/docker-dev
Browse files Browse the repository at this point in the history
Since postgres only needs a single superuser, eliminate postgres init in lieu of image env vars.
  • Loading branch information
jj0hns0n authored Jan 6, 2017
2 parents 369b9f7 + 5d7a9fa commit d284dc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
7 changes: 5 additions & 2 deletions scripts/docker-dev/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
version: '2'
services:
postgres:
build: "postgres-postgis/"
image: "postgresql-postgis:9.3-2.3"
image: mdillon/postgis:9.3
environment:
- POSTGRES_USER=osgeo
- POSTGRES_PASSWORD=osgeo
- POSTGRES_DB=osgeo
ports:
- "5432:5432"
expose:
Expand Down
3 changes: 0 additions & 3 deletions scripts/docker-dev/postgres-postgis/Dockerfile

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/docker-dev/postgres-postgis/init-user-db.sh

This file was deleted.

0 comments on commit d284dc1

Please sign in to comment.