mirror of
https://github.com/expo/node-vault.git
synced 2026-11-27 16:45:28 -10:00
33 lines
585 B
YAML
33 lines
585 B
YAML
version: '2'
|
|
services:
|
|
test:
|
|
build: .
|
|
command: npm test
|
|
environment:
|
|
- VAULT_ADDR=http://vault:8200
|
|
volumes:
|
|
- $PWD/coverage:/app/coverage
|
|
depends_on:
|
|
- vault
|
|
|
|
vault:
|
|
image: vault
|
|
volumes:
|
|
- $PWD/example:/tmp/example
|
|
- $PWD/logs/:/tmp/logs
|
|
cap_add:
|
|
- IPC_LOCK
|
|
command: server -config /tmp/example/config.hcl
|
|
ports:
|
|
- "8200:8200"
|
|
depends_on:
|
|
- postgres
|
|
|
|
postgres:
|
|
image: postgres
|
|
ports:
|
|
- "5433:5432"
|
|
environment:
|
|
POSTGRES_USER: root
|
|
POSTGRES_PASSWORD: test
|