Skip to content

Instantly share code, notes, and snippets.

@david-arteaga
Created March 22, 2019 13:17
Show Gist options
  • Save david-arteaga/c73a779343bb0a9cbafcf2710495734c to your computer and use it in GitHub Desktop.
Save david-arteaga/c73a779343bb0a9cbafcf2710495734c to your computer and use it in GitHub Desktop.
[Postgres docker-compose]
version: '3.3'
services:
followme-postgres:
# image: postgres:10.7-alpine # just postgres
image: mdillon/postgis:10-alpine # with postgis
restart: always
environment:
POTSGRES_PASSWORD: postgres
POSTGRES_USER: postgres
volumes:
- ./data:/var/lib/postgresql/data
ports:
- '5432:5432'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment