chiefy/vaulted

View on GitHub
compose-templates/test-docker.yml

Summary

Maintainability
Test Coverage
consul:
  container_name: consul
  image: kenjones/authstore-consul:0.6.4
  ports:
    - "8301"
    - "8302"
    - "8400"
    - "8500"
    - "8600"

vault:
  container_name: vault
  image: kenjones/authstore-vault:0.6.0
  links:
    - consul
  cap_add:
    - IPC_LOCK
  ports:
    - "8200"
    - "8500"

vaulted:
  container_name: vaulted
  image: kenjones/nodejs-mocha
  links:
    - vault
  command: ./scripts/test.sh
  environment:
    - VAULT_HOST=vault
    - VAULT_PORT=8200
    - CONSUL_HOST
    - CONSUL_PORT
    - TEST_CONSUL_HOST=vault
    - TEST_CONSUL_PORT
    - NODE_DEBUG
    - TEST_SYSLOG=true
    - ALLOW_CONFIG_MUTATIONS=true
  volumes:
    - .:/app