Skip to content

1eam/xyz-bank

Repository files navigation


XYZ BANK

banking service

Installation instructionsLicenseAdditional information

Installation instructions

Prerequisites: Docker

Copy the following into a docker-compose.yml file and configure ports and environment as necessary

#This docker-compose file serves the purpose of running the xyz-bank backend API as a standalone service
version: '3'
services:
  xyz-bank:
    image: esther191299/xyz-bank
    container_name: xyz-bank
    depends_on:
      - postgres
    restart: always
    shm_size: 256mb
    ports:
      - "8080:8080"
    environment:
      datasource_url: jdbc:postgresql://host.docker.internal:5432/xyz-bank
      database_username: admin
      database_password: admin
      xyz-bank-upload-directory: xyz-bank-upload-directory
  postgres:
    image: postgres
    container_name: postgres
    restart: always
    shm_size: 256mb
    ports:
      - "5432:5432"
    environment:
      POSTGRES_USER: admin
      POSTGRES_PASSWORD: admin
      POSTGRES_DB: xyz-bank
      PGDATA: /data/postgres
    volumes:
      - postgres_db:/var/lib/postgresql/data
volumes:
      postgres_db:

run

$ docker-compose up -d

Additional information

Database architecture - Entity relationships

diagram.png

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published