- Go to browser http://localhost:8000
- Enter credentials:
admin@mail.ru admin
- Add New Server -> Connection Tab
host: postgre-db port: 5432 database: cinema username: postgres password: password
chmod +x start.sh
chmod +x stop.sh
./start.sh
./stop.sh
Open in browser localhost:8080/cinema
#Api - Swagger Documentation http://localhost:8080/swagger-ui.html
In docker-compose.yml set:
cinema-app:
image: 'com.example/cinema:latest'
Run:
./gradlew clean build
./gradlew jibDockerBuild
docker-compose up -d
./build_and_push_to_hub.sh
Or manually:
./gradlew jibDockerBuild (to build image)
docker images (to find your image id - IMAGE_ID)
docker tag IMAGE_ID ilka/ilka_images_repository:cinema-app
docker images (to check that image with the desired tag exists)
docker push ilka/ilka_images_repository:cinema-app
check published image here: https://hub.docker.com/repository/docker/ilka/ilka_images_repository