GithubHelp home page GithubHelp logo

mamadaliev / spring-boot-postgres-vue-docker Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 6.0 216 KB

An example of a simple Spring Boot application and other services running with docker-compose file configuration.

License: MIT License

Dockerfile 2.44% Java 77.16% Shell 0.70% JavaScript 0.85% Vue 15.59% HTML 3.25%
spring-boot spring-docker docker docker-compose microservices-architecture resfull

spring-boot-postgres-vue-docker's Introduction

Build Status codecov

spring-boot-postgres-vue-docker

Stack

  • Spring Boot 2.2.0
  • Spring Data 2.2.0
  • Postgres 9.4
  • Docker 3
  • Maven 4
  • Tomcat 9

Install

To build services and launch them in containers, you need to run start.sh.

$ bash start.sh

Contribute

For any problems, comments, or feedback please create an issue here.

License

Project is released under the MIT.

spring-boot-postgres-vue-docker's People

Contributors

dependabot[bot] avatar mamadaliev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

spring-boot-postgres-vue-docker's Issues

PostgreSQL: Connection refused

If, when you start the application, you get this error:

PostgreSQL: Connection refused

then most likely you should:

1. Remove all containers and images.
2. Check application.yml file:

spring:
  datasource:
    driver-class-name: org.postgresql.Driver
    url: jdbc:postgresql://postgres:5432/demo?createDatabaseIfNotExist=true
    username: root
    password: root

Where postgres is the service name in docker-compose.yml

3. Disable postgres on the computer if it worked.

ERROR: Couldn't connect to Docker daemon. You might need to start Docker for *

Hello, I get this error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.773 s
[INFO] Finished at: 2019-11-23T15:34:19+03:00
[INFO] ------------------------------------------------------------------------
ERROR: Couldn't connect to Docker daemon. You might need to start Docker for Mac.
ERROR: Couldn't connect to Docker daemon. You might need to start Docker for Mac.
ERROR: Couldn't connect to Docker daemon. You might need to start Docker for Mac.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.