Skip to content

Instantly share code, notes, and snippets.

@vrulevskyi
Forked from onjin/docker-compose.yml
Created March 7, 2018 03:12
Show Gist options
  • Select an option

  • Save vrulevskyi/307b08abddc9568cf8f9c1b429c1ab56 to your computer and use it in GitHub Desktop.

Select an option

Save vrulevskyi/307b08abddc9568cf8f9c1b429c1ab56 to your computer and use it in GitHub Desktop.
example docker compose for postgresql with db init script
postgres:
image: postgres:9.4
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
create table sometable(id int);
@fukemy
Copy link
Copy Markdown

fukemy commented Jul 25, 2024

not working to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment