This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yaml
62 lines (59 loc) · 2.11 KB
/
docker-compose.yaml
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
services:
arlocal:
profiles: ['test']
image: textury/arlocal:v1.1.35
ports:
- '1984:1984'
arns-service:
build:
context: .
args:
NODE_VERSION: ${NODE_VERSION:-18.16.0}
NODE_VERSION_SHORT: ${NODE_VERSION_SHORT:-18}
environment:
NODE_ENV: ${NODE_ENV:-dev}
GATEWAY_HOST: ${GATEWAY_HOST:-arlocal}
GATEWAY_PORT: ${GATEWAY_PORT:-1984}
GATEWAY_PROTOCOL: ${GATEWAY_PROTOCOL:-http}
WARP_GATEWAY_HOST: ${GATEWAY_HOST:-arlocal}
WARP_GATEWAY_PROTOCOL: ${GATEWAY_PROTOCOL:-http}
WARP_GATEWAY_PORT: ${GATEWAY_PORT:-1984}
PREFETCH_CONTRACTS: ${PREFETCH_CONTRACTS:-false}
BLOCKLISTED_CONTRACT_IDS: ${BLOCKLISTED_CONTRACT_IDS:-fbU8Y4NMKKzP4rmAYeYj6tDrVDo9XNbdyq5IZPA31WQ}
WAIT_TIME_SECONDS: ${WAIT_TIME_SECONDS:-}
ports:
- '3000:3000'
volumes:
- ${WARP_SQLITE_CACHE_PATH:-./cache/warp/sqlite}:/usr/src/app/cache/sqlite
litestream:
profiles: ['litestream']
build:
context: litestream
environment:
TVAL_LOCAL_DB_PATH: ${LITESTREAM_LOCAL_DB_PATH:-/app/data/sqlite}
TVAL_S3_BUCKET_PATH: ${LITESTREAM_S3_BUCKET_PATH:-}
TVAL_S3_BUCKET: ${LITESTREAM_S3_BUCKET:-}
TVAL_AWS_ACCESS_KEY_ID: ${LITESTREAM_AWS_ACCESS_KEY_ID:-}
TVAL_AWS_SECRET_ACCESS_KEY: ${LITESTREAM_AWS_SECRET_ACCESS_KEY:-}
TVAL_S3_BUCKET_REGION: ${LITESTREAM_S3_BUCKET_REGION:-}
WAIT_TIME_SECONDS: ${LITESTREAM_WAIT_TIME_SECONDS:-}
RESTORE_FROM_BACKUP: ${LITESTREAM_RESTORE_FROM_BACKUP:-false}
volumes:
- ${WARP_SQLITE_CACHE_PATH:-./cache/warp/sqlite}:/app/data/sqlite
test-runner:
profiles: ['test']
build:
context: .
dockerfile: tests/integration/Dockerfile.integration
args:
NODE_VERSION: ${NODE_VERSION:-18.16.0}
environment:
HOST: arns-service
PORT: 3000
GATEWAY_HOST: ${GATEWAY_HOST:-arlocal}
GATEWAY_PORT: ${GATEWAY_PORT:-1984}
GATEWAY_PROTOCOL: ${GATEWAY_PROTOCOL:-http}
BLOCKLISTED_CONTRACT_IDS: ${BLOCKLISTED_CONTRACT_IDS:-fbU8Y4NMKKzP4rmAYeYj6tDrVDo9XNbdyq5IZPA31WQ}
depends_on:
- arlocal
- arns-service