Skip to content

Cinema application. Developed with Spring Boot, Gradle, Postgres DB, pgAdmin, Docker and Thymeleaf.

Notifications You must be signed in to change notification settings

llka/cinema-docker

Repository files navigation

Connect to PgAdmin

  1. Go to browser http://localhost:8000
  2. Enter credentials:
  3. Add New Server -> Connection Tab
     host: postgre-db
     port: 5432
     database: cinema
     username: postgres
     password: password
    

Run Locally

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

Run Locally in dev mode

In docker-compose.yml set:

cinema-app:
        image: 'com.example/cinema:latest'

Run:

./gradlew clean build
./gradlew jibDockerBuild
docker-compose up -d

Push image to docker hub

./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

About

Cinema application. Developed with Spring Boot, Gradle, Postgres DB, pgAdmin, Docker and Thymeleaf.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published