This repository has been archived by the owner on May 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.tests.yaml
78 lines (72 loc) · 2.31 KB
/
docker-compose.tests.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: "3"
services:
psql:
image: postgres:10.4
links:
- postgres
entrypoint: psql -h postgres -U user -d ecosystem
environment:
PGPASSWORD: pass
redis-cli:
image: redis:4.0
links:
- redis
entrypoint: redis-cli -h redis -p 6379
create-db:
image: kinecosystem/marketplace-server:latest
volumes:
- .:/opt/app
links:
- postgres
command: npm run manage-db-data -- --apps-dir data/apps --offers-dir data/offers --trans-file data/translations/pt-BR.csv --trans-lang pt-BR --rules-dir data/version_rules --app-list ALL --create-db
environment:
APP_DB_TYPE: postgres
APP_DB_USERNAME: user
APP_DB_PASSWORD: pass
APP_DB_PORT: 5432
APP_DB_HOST: postgres
APP_DB_DATABASE: ecosystem
STELLAR_ADDRESS: ${STELLAR_ADDRESS}
marketplace-console:
image: kinecosystem/marketplace-server:latest
volumes:
- .:/opt/app
links:
- postgres
command: node --experimental-repl-await ./scripts/bin/node-console.js
environment:
APP_DB_TYPE: postgres
APP_DB_USERNAME: user
APP_DB_PASSWORD: pass
APP_DB_PORT: 5432
APP_DB_HOST: postgres
APP_DB_DATABASE: ecosystem
STELLAR_ADDRESS: ${STELLAR_ADDRESS}
test-system:
image: kinecosystem/marketplace-server:latest
volumes:
- .:/opt/app
links:
- marketplace-public
- jwt-service
- marketplace-admin
environment:
MARKETPLACE_BASE: http://marketplace-public
JWT_SERVICE_BASE: http://jwt-service
JWT_SERVICE_BASE_V3: http://jwt-service-v3
MIGRATION_SERVICE: http://migration-service:8000
ADMIN_BASE: http://marketplace-admin
command: npm run test-system
generate-funding-address:
image: kinecosystem/payment-service:236500b
command: pipenv run python generate_funding_address.py
volumes:
- ./secrets:/secrets
environment:
OUTPUT_DIR: /secrets
KIN_FAUCET: 'http://faucet-playground.kininfrastructure.com'
XLM_FAUCET: 'http://friendbot-playground.kininfrastructure.com'
STELLAR_HORIZON_URL: 'https://horizon-playground.kininfrastructure.com'
STELLAR_NETWORK: 'Kin Playground Network ; June 2018'
STELLAR_KIN_ISSUER_ADDRESS: 'GBC3SG6NGTSZ2OMH3FFGB7UVRQWILW367U4GSOOF4TFSZONV42UJXUH7'
STELLAR_KIN_TOKEN_NAME: 'KIN'