forked from IGVF-DACC/snovault
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
45 lines (41 loc) · 1.23 KB
/
docker-compose.test.yml
File metadata and controls
45 lines (41 loc) · 1.23 KB
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
44
45
version: "3.8"
services:
localstack:
build:
context: ./docker/localstack/
image: snovault-localstack
environment:
- AWS_DEFAULT_REGION=us-west-2
- AWS_ACCESS_KEY_ID=testing
- AWS_SECRET_ACCESS_KEY=testing
- SERVICES=sqs,sts
- LS_LOG=warn
ports:
- "4566:4566"
postgres:
build:
context: ./docker/postgres/
image: snovault-postgres
environment:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- "5432:5432"
pyramid:
build:
context: .
dockerfile: ./docker/pyramid/Dockerfile
image: snovault-pyramid
environment:
- LOCALSTACK_ENDPOINT_URL=http://localstack:4566
- TRANSACTION_QUEUE_URL=http://localstack:4566/000000000000/transaction-queue
- INVALIDATION_QUEUE_URL=http://localhost:4566/000000000000/invalidation-queue
- TRANSACTION_DEAD_LETTER_QUEUE_URL=http://localhost:4566/000000000000/transaction-dead-letter-queue
- INVALIDATION_DEAD_LETTER_QUEUE_URL=http://localhost:4566/000000000000/invalidation-dead-letter-queue
volumes:
- ".:/snovault"
- "/snovault/src/snovault.egg-info"
command: pytest -rf -m "not indexing and not bdd"
ports:
- "6543:6543"
depends_on:
- postgres