Created
April 1, 2020 02:20
-
-
Save jaccon/dd7c224be04c422e2b164fc059e5d1d0 to your computer and use it in GitHub Desktop.
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: '2' | |
volumes: | |
dados: | |
services: | |
db: | |
image: postgres:9.6 | |
environment: | |
POSTGRES_DB: "db" | |
POSTGRES_HOST_AUTH_METHOD: "trust" | |
volumes: | |
- dados:/var/lib/postgresql/data | |
- ./scripts:/scripts | |
- ./scripts/init.sql:/docker-entrypoint-initdb.d/init.sql | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment