-
-
Save sandeep-cs-dev/04c24c8f4aa286fa2ca51e05b7720868 to your computer and use it in GitHub Desktop.
example docker compose for postgresql with db init script
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
| postgres: | |
| image: postgres:9.4 | |
| volumes: | |
| - ./init.sql:/docker-entrypoint-initdb.d/init.sql |
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
| create table sometable(id int); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment