Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 922 Bytes

README.md

File metadata and controls

51 lines (41 loc) · 922 Bytes

GESSI-SLR

Developers cheat sheet

Makefile

  1. Create docker volume:
make build-volume
  1. Create docker image:
make build
  1. Running it
make up
  1. Delete containers
make down

Without Makefile

  1. Create docker volume:
docker volume create --name db-volume --opt type=local --opt device=/home/slrgessi/db-volume --opt o=bind
  1. Create docker image:
docker build -t com.webapp.gessi/gessi-slr:1.1.0 .
  1. Running it This can fail because it use the name of the derby container in the datasource.url you have to check the name and replace it
docker-compose -p gessi-slr up -d
  1. Delete containers
docker-compose -p gessi-slr down

Check result