-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.test.yml
43 lines (42 loc) · 1.45 KB
/
docker-compose.test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3'
services:
tests:
build:
context: .
dockerfile: Dockerfiles/Dockerfile.tests
args:
VERSION: latest
environment:
- DB=postgresql://postgres:toor@db:5432
- DATABASE_URL=postgresql://postgres:toor@db:5432/bcda?sslmode=disable
- BCDA_SSAS_CLIENT_ID=fake-client-id
- BCDA_SSAS_SECRET=fake-secret
- DEPLOYMENT_TARGET=local
- SSAS_ADMIN_SIGNING_KEY_PATH=../../../shared_files/ssas/admin_test_signing_key.pem
- SSAS_PUBLIC_SIGNING_KEY_PATH=../../../shared_files/ssas/public_test_signing_key.pem
- SSAS_PUBLIC_PORT=:3003
- SSAS_ADMIN_PORT=:3004
- SSAS_HTTP_TO_HTTPS_PORT=:3005
- SSAS_HASH_ITERATIONS=130000
- SSAS_HASH_KEY_LENGTH=64
- SSAS_HASH_SALT_SIZE=32
- SSAS_TOKEN_BLACKLIST_CACHE_CLEANUP_MINUTES=15
- SSAS_TOKEN_BLACKLIST_CACHE_TIMEOUT_MINUTES=1440
- SSAS_TOKEN_BLACKLIST_CACHE_REFRESH_MINUTES=5
- SSAS_URL=http://ssas:3004
- SSAS_PUBLIC_URL=http://ssas:3003
- SSAS_CLIENT_ASSERTION_AUD=http://local.testing.cms.gov/api/v2/Token/auth
volumes:
- .:/go/src/github.com/CMSgov/bcda-ssas-app
postman_test:
build:
context: .
dockerfile: Dockerfiles/Dockerfile.postman_test
volumes:
- .:/go/src/github.com/CMSgov/bcda-ssas-app
smoke_test_ssas:
build:
context: .
dockerfile: Dockerfiles/Dockerfile.postman_test
volumes:
- .:/go/src/github.com/CMSgov/bcda-ssas-app