Skip to content

Instantly share code, notes, and snippets.

@bit-app-3000
Forked from onjin/docker-compose.yml
Created July 14, 2022 19:53
Show Gist options
  • Save bit-app-3000/c60c259cea0cdf6b3005a841be822bab to your computer and use it in GitHub Desktop.
Save bit-app-3000/c60c259cea0cdf6b3005a841be822bab 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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment