Skip to content

A docker-compose file for FRI with Kong #67

Closed

Description

@pradeeban
          "The Kong instructions in the Docker README here can be confusing."

To avoid this, we can develope the docker-compose file. Also, it helps users to build and run multiple container with one command.

Originally posted by @shivangvijay in #44 (comment)

Activity

  1. shivangvijay commented on Mar 29, 2023

    @shivangvijay
    Contributor
    version: '3'
    
    services:
      fri:
        build:
          context: .
        image: fri
        ports:
          - 8090:8080
        command: tail -f /dev/null
    
      kong-database:
        image: cassandra:3
        ports:
          - 9042:9042
    
      kong:
        image: kong
        depends_on:
          - kong-database
        environment:
          KONG_DATABASE: cassandra
          KONG_PG_HOST: kong-database
          KONG_PG_PASSWORD: kong
          KONG_CASSANDRA_CONTACT_POINTS: kong-database
          KONG_PROXY_ACCESS_LOG: /dev/stdout
          KONG_ADMIN_ACCESS_LOG: /dev/stdout
          KONG_PROXY_ERROR_LOG: /dev/stderr
          KONG_ADMIN_ERROR_LOG: /dev/stderr
          KONG_ADMIN_LISTEN: 0.0.0.0:8001, 0.0.0.0:8444 ssl
        ports:
          - 80:8000
          - 8443:8443
          - 8001:8001
          - 8444:8444
    
    

    @pradeeban I write the docker-compose file. Don't have full knowledge of kong and the exact output. Still, I think, it can be be good starting point for other developers. So I have going to put PR for this .

  2. pradeeban commented on Mar 29, 2023

    @pradeeban
    MemberAuthor

    Merged. Thanks.
    It is a new file. So it cannot break anything and can be a good starting point for future developments indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions