-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.test.yml
66 lines (62 loc) · 1.68 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3.7'
services:
pgdb-test:
build:
context: ./infra-local/postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: arblacklist
restart: always
# ports:
# - '5432:5432'
s3-local:
image: bitnami/minio:latest
ports:
# - '9000:9000'
- '9001:9001' # for UI
environment:
MINIO_ROOT_USER: minioroot
MINIO_ROOT_PASSWORD: minioroot
MINIO_FORCE_NEW_KEYS: 'yes'
MINIO_DEFAULT_BUCKETS: shepherd-input-mod-local:public
sqs-local:
build:
context: ./infra-local/sqs-local
ports:
- '9324:9324'
- '9325:9325' # for UI
test:
build:
context: ./services
dockerfile: Dockerfile.test
# target: test
environment:
DB_HOST: pgdb-test
PROCESS_NAME: test
SQS_LOCAL: 'yes'
AWS_ACCESS_KEY_ID: dummy
AWS_SECRET_ACCESS_KEY: dummytoo
AWS_FEEDER_QUEUE: http://sqs-local:9324/000000000000/shepherd2-feeder-q
AWS_INPUT_BUCKET: shepherd-input-mod-local
S3_LOCAL: 'yes'
S3_LOCAL_ENDPOINT: http://s3-local:9000
HOST_URL: https://arweave.net
GQL_URL: https://arweave.net/graphql
GQL_URL_SECONDARY: https://arweave-search.goldsky.com/graphql
depends_on:
- pgdb-test
- s3-local
- sqs-local
# ## will there be e2e testing here??
# plugin:
# extends:
# file: ./addons/${PLUGIN:-nsfw}/docker-compose.yml
# service: ${PLUGIN:-nsfw}
# depends_on:
# - sqs-local-test
# - s3-local-test
# - pgdb-test
# entrypoint: ["npm", "test"]
# networks:
# shep-test-nw: