cyberark/conjur-api-ruby

View on GitHub
dev/docker-compose.yml

Summary

Maintainability
Test Coverage
version: '3'
services:
  pg:
    image: postgres:15
    environment:
      POSTGRES_HOST_AUTH_METHOD: trust

  conjur:
    image: cyberark/conjur
    command: server -a cucumber
    environment:
      DATABASE_URL: postgres://postgres@pg/postgres
      CONJUR_DATA_KEY: 'WMfApcDBtocRWV+ZSUP3Tjr5XNU+Z2FdBb6BEezejIs='
    volumes:
      - authn_local:/run/authn-local
    depends_on:
      - pg

  gem:
    build:
      context: ../
      dockerfile: dev/Dockerfile.dev
    entrypoint: sleep
    command: infinity
    environment:
      CONJUR_APPLIANCE_URL: http://conjur
      CONJUR_ACCOUNT: cucumber
    links:
      - conjur:conjur
    volumes:
      - ..:/src/conjur-api
      - authn_local:/run/authn-local

  client:
    # TODO: Upgrade to V8
    image: conjurinc/cli5
    entrypoint: sleep
    command: infinity
    environment:
      CONJUR_APPLIANCE_URL: http://conjur
      CONJUR_ACCOUNT: cucumber
      CONJUR_AUTHN_LOGIN: admin
    links:
    - conjur:conjur

volumes:
  authn_local: