- Create docker volume:
make build-volume
- Create docker image:
make build
- Running it
make up
- Delete containers
make down
- Create docker volume:
docker volume create --name db-volume --opt type=local --opt device=/home/slrgessi/db-volume --opt o=bind
- Create docker image:
docker build -t com.webapp.gessi/gessi-slr:1.1.0 .
- 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
- Delete containers
docker-compose -p gessi-slr down
- Tomcat Webapp
- Derby DB
- Connect to DB:
jdbc:derby://localhost:1024/DOCKERDB