Giter VIP home page Giter VIP logo

obp-docker's Introduction

OBP-Docker

Files required to create the images available at Docker Hub https://hub.docker.com/r/openbankproject/

obp-base

Build

$ docker build --no-cache -f Dockerfile.obp-base -t openbankproject/obp-base .

obp-api

Build

$ docker build --no-cache -f Dockerfile.obp-api -t openbankproject/obp-api .

Run in docker container

$ docker run -d -p 8080:8080                         \
-e "OBP_API_HOSTNAME=http://127.0.0.1:8080"          \
openbankproject/obp-api

obp-full

Build

$ docker build --no-cache -f Dockerfile.obp-full -t openbankproject/obp-full .

Run in docker container

$ docker run -d -p 8080-8082:8080-8082                         \
-e "OBP_API_HOSTNAME=http://127.0.0.1:8080"                    \
-e "OBP_BASE_URL_API_EXPLORER=http://localhost:8082"           \
-e "OBP_BASE_URL_SOCIAL_FINANCE=http://localhost:8081"         \
-e "OBP_WEBUI_API_EXPLORER_URL=http://localhost:8082"          \
openbankproject/obp-full

obp-full-kafka

Build

$ docker build --no-cache -f Dockerfile.obp-full-kafka -t openbankproject/obp-full-kafka .

Run in docker container

$ docker run -d -p 8080-8082:8080-8082 -p 9092:9092 -p 2181:2181 \
-e "ADVERTISED_HOST=localhost"                                   \
-e "OBP_API_HOSTNAME=http://127.0.0.1:8080"                      \
-e "OBP_BASE_URL_API_EXPLORER=http://localhost:8082"             \
-e "OBP_BASE_URL_SOCIAL_FINANCE=http://localhost:8081"           \
-e "OBP_WEBUI_API_EXPLORER_URL=http://localhost:8082"            \
openbankproject/obp-full-kafka

Docker Compose

Docker compose is used to orchestrate the services. The docker images for api, apiexplorer, sofi and postgres are built separately. Using docker compose the services can be run together.

To run the services using docker compose, run the following commands.

$ cd compose
$ docker-compose up

obp-docker's People

Contributors

sebtesobe avatar simonredfern avatar moule3053 avatar

Watchers

James Cloos avatar Elektropay avatar

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.