Simple sql-boot template for PostgreSQL scripts.
- Clone this repo (or click "Use this template" and clone new repo):
git clone https://github.com/sql-boot/airlines.git
cd airlines
-
Put your SQL scripts to
sql
folder -
Edit properties in application.yml for your database(s)
-
Run with Docker Compose:
docker-compose up -d sql-boot
- Or run with Docker:
docker build . -t sql-boot-postgres
docker run -v $PWD/sql:/sql-boot/sql \
-v $PWD/application.yml:/sql-boot/application.yml \
-t -p 8007:8007 \
mgramin/sql-boot
docker-compose up -d