Sign inSign up

najlabioinfo/springb-reactjs-postgres

By najlabioinfo

•Updated about 7 years ago

SpringBoot - Reactjs - PostgreSQL (Debian: Stretch)

Image
0

260

najlabioinfo/springb-reactjs-postgres repository overview

⁠-- Docker image for spring-boot application (front-end, ReactJS/ Back-end, PostgreSQL) based on :

  • Distributor ID: Debian
  • Description: Debian GNU/Linux 9.8 (stretch)
  • Release: 9.8
  • Codename: stretch

⁠-- USAGE

⁠- Pull the docker image:

$ docker pull najlabioinfo/springb-reactjs-postgres:latest

⁠- Run the image:

$ docker run -it -p 8080:8080  -p 3000:3000 -p 5432:5432  -p 5000:5000 najlabioinfo/springb-reactjs-postgres:latest $CMD
⁠-- EXPOSE details:
  • 8080 for spring-boot
  • 3000 for reactjs
  • 5432 for postgreSQL
  • 5000 for Heroku
⁠-- !! NB: Please ensure that postgres server is running !!
$ sudo service postgresql start
⁠-- Package details
  • Maven home: /usr/share/maven
  • Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
  • Default locale: en, platform encoding: UTF-8
  • OS name: "linux", version: "4.14.98-boot2docker", arch: "amd64", family: "unix"
⁠-- DB
  • PostgreSQL 9.6 database server
⁠-- Web
- NodeJs: v10.11.0
- nom : 6.9.0
- YARN: 1.15.0
- React 16.8.0
⁠-- Run the app inside the container : [Path: /najlabioinfo/springsampling/samplificator]
⁠* Spring-boot :

⁠- Test the build =

$ mvn test -B

⁠- Run the app =

$ mvn spring-boot:run

=> Browser {$IP_CONTAINER}:8080/

⁠* Web App: ./samplificator

⁠- Run npm =

$ npm start

⁠- Run yarn =

$ yarn start

⁠- Build =

$ yarn build

=> Browser {$IP_CONTAINER}:3000/

Tag summary

Content type

Image

Digest

Size

2.2 GB

Last updated

about 7 years ago

docker pull najlabioinfo/springb-reactjs-postgres