Created
June 8, 2020 15:54
-
-
Save seandearnaley/5f291443c99f50e47d05f1d1c6ef9a44 to your computer and use it in GitHub Desktop.
Warthog docker-compose.yml for Postgresql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.6' | |
services: | |
postgres: | |
image: postgres | |
restart: always | |
volumes: | |
- ./db_data:/var/lib/postgresql/data | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_DB: warthog-starter-development | |
POSTGRES_PASSWORD: | |
POSTGRES_USER: sean | |
volumes: | |
db_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment