Sign inSign up

petrovlad/gateway

By petrovlad

•Updated about 5 years ago

Image
0

71

petrovlad/gateway repository overview

⁠petrovlad/gateway

This image contains gateway service from Partyphone project. Service runs on port 9999.

⁠Usage

By default, it uses jdbc:postgresql://localhost:5432/partyphone as database url, http://localhost:8002/api/v1/storage/ as storage url, http://localhost:8888/api/v1/recognizer/ as recognizer url and http://localhost:8004/api/v1/converter/ as converter url. But you can customize these values by redefining DB_URL, STORAGE_URL, RECOGNIZER_URL and CONVERTER_URL environment variables.

⁠Examples

Docker cli command:

docker run -e DB_URL=${DB_URL} -e STORAGE_URL=${STORAGE_URL} -e RECOGNIZER_URL=${RECOGNIZER_URL} -e CONVERTER_URL=${CONVERTER_URL} petrovlad/gateway:0.1

Simple docker-compose file:

version: '3.8'
services:
  gateway:
    container_name: partyphone-gateway
    image: petrovlad/gateway:0.1
    restart: always
    environment:
      DB_URL: aboba
      STORAGE_URL: bababooey
      RECOGNIZER_URL: yeet
      CONVERTER_URL: foobar
    ports:
      - "9999:9999"

Tag summary

Content type

Image

Digest

Size

83.1 MB

Last updated

about 5 years ago

docker pull petrovlad/gateway:0.1