Sign inSign up

fidedocker/onix-adapter

By fidedocker

•Updated 12 days ago

Beckn ONIX Adapter (golang). repo - https://github.com/beckn/beckn-onix

Image
Integration & delivery
0

7.5K

fidedocker/onix-adapter repository overview

Built using - https://github.com/Beckn-One/beckn-onix/blob/main/Dockerfile.adapter-with-plugins⁠

It's easier to load ONIX adapter with a compose file, that may look like below-

services:
  beckn-onix:
    image: fidedocker/onix-adapter:latest
    ports:
      - "8081:8081"
    environment:
      VAULT_ADDR: http://vault:8200
      VAULT_TOKEN: root
      REDIS_ADDR: redis:6379
      # RabbitMQ is optional, is needed only when using publisher plugin
      RABBITMQ_ADDR: rabbitmq:5672
      RABBITMQ_USER: admin
      RABBITMQ_PASS: admin123
    volumes:
      - ./config:/app/config
      - ./schemas:/app/schemas
    command: ["./server", "--config=/app/config/docker.yaml"]

Please note the following in the compose file-

  • There is no volume mounts for accessing plugins as they are built and included in docker image.
  • config file that is mandatory argument for ONIX adapter to start

Tag summary

Content type

Image

Digest

sha256:d75394ac6…

Size

295.1 MB

Last updated

12 days ago

docker pull fidedocker/onix-adapter