Skip to content

Commit

Permalink
Merge pull request #8 from tokend/v3.6
Browse files Browse the repository at this point in the history
V3.6
  • Loading branch information
Volendi authored Jul 10, 2019
2 parents 223ba19 + bf15749 commit 1262c8e
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 9 deletions.
23 changes: 23 additions & 0 deletions configs/coinpayments-atomic-swap-checker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
log:
level: warn
# we are using sentry for error collection,
# you could opt-out by disabling it on the following line
disable_sentry: false

sentry:
dsn: https://1bbe444efb3b4b15a58d9c0aba739f1c@sentry.tokend.services/6

horizon:
endpoint: http://janus
signer: SAMJKTZVW5UOHCDK5INYJNORF2HRKYI72M5XSZCBYAHQHR34FFR4Z6G4

coinpayments:
merchant_id: "6936542314febfcc8dd3955fce88e0be"
address: https://www.coinpayments.net/api.php
private_key: "1004f66dB4081cA6D9c3f0651A1DC64eB754158e48daFb7441c4B632D26628eC"
public_key: "f1db0de9c54cac677109f9da823b9627bef1c606fa75634c776100b88170a271"
ipn_secret: "supersekr1tandsecure"
request_timeout: 30

atomic_swap_checker:
signer: SAMJKTZVW5UOHCDK5INYJNORF2HRKYI72M5XSZCBYAHQHR34FFR4Z6G4
23 changes: 23 additions & 0 deletions configs/coinpayments-atomic-swap-matcher.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
log:
level: warn
# we are using sentry for error collection,
# you could opt-out by disabling it on the following line
disable_sentry: false

sentry:
dsn: https://1bbe444efb3b4b15a58d9c0aba739f1c@sentry.tokend.services/6

horizon:
endpoint: http://janus
signer: SAMJKTZVW5UOHCDK5INYJNORF2HRKYI72M5XSZCBYAHQHR34FFR4Z6G4

coinpayments:
merchant_id: "6936542314febfcc8dd3955fce88e0be"
address: https://www.coinpayments.net/api.php
private_key: "1004f66dB4081cA6D9c3f0651A1DC64eB754158e48daFb7441c4B632D26628eC"
public_key: "f1db0de9c54cac677109f9da823b9627bef1c606fa75634c776100b88170a271"
ipn_secret: "supersekr1tandsecure"
request_timeout: 30

atomic_swap_matcher:
signer: SAMJKTZVW5UOHCDK5INYJNORF2HRKYI72M5XSZCBYAHQHR34FFR4Z6G4
20 changes: 20 additions & 0 deletions configs/poll-closer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
log:
level: warn
# we are using sentry for error collection,
# you could opt-out by disabling it on the following line
disable_sentry: true

sentry:
dsn: https://1bbe444efb3b4b15a58d9c0aba739f1c@sentry.tokend.services/6

closer:
source: GBA4EX43M25UPV4WIE6RRMQOFTWXZZRIPFAI5VPY6Z2ZVVXVWZ6NEOOB
signer: SAMJKTZVW5UOHCDK5INYJNORF2HRKYI72M5XSZCBYAHQHR34FFR4Z6G4
concurrency: 100

horizon:
endpoint: http://janus/
signer: "SAMJKTZVW5UOHCDK5INYJNORF2HRKYI72M5XSZCBYAHQHR34FFR4Z6G4"

listener:
addr: :2324
41 changes: 33 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
volumes:
- adks-data:/pgdata
core:
image: tokend/core:3.5.0
image: tokend/core:3.5.1
depends_on:
- janus
restart: unless-stopped
Expand All @@ -51,17 +51,18 @@ services:
labels:
- "autoheal=true"
horizon:
image: tokend/horizon:3.4.0
image: tokend/horizon:3.5.0
depends_on:
- core
restart: unless-stopped
environment:
- POSTGRES_USER=horizon
- POSTGRES_PASSWORD=horizon
- POSTGRES_DB=horizon
- PGDATA=/pgdata
- PGDATA=/data/pgdata
volumes:
- ./configs/horizon.yaml:/config.yaml
- horizon-data:/data
api:
image: tokend/identity:4.4.0
restart: unless-stopped
Expand Down Expand Up @@ -94,14 +95,14 @@ services:
entrypoint: ""
command: /opt/config/apply.sh
web_client:
image: tokend/web-client:1.8.0
image: tokend/web-client:1.9.0
restart: unless-stopped
volumes:
- ./configs/client.js:/usr/share/nginx/html/static/env.js
ports:
- 8060:80
admin_client:
image: tokend/admin-client:1.8.0
image: tokend/admin-client:1.9.0
restart: unless-stopped
volumes:
- ./configs/client.js:/usr/share/nginx/html/static/env.js
Expand Down Expand Up @@ -143,6 +144,14 @@ services:
environment:
- KV_VIPER_FILE=/config.yaml
command: "run"
poll_closer:
image: tokend/poll-closer:0.1.1
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
volumes:
- ./configs/poll-closer.yaml:/config.yaml
command: run closer

## 3rd party

Expand All @@ -162,29 +171,45 @@ services:
## Coinpayments

coinpayments-deposit:
image: tokend/coinpayments:0.3.0
image: tokend/coinpayments:0.4.0
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
volumes:
- ./configs/coinpayments-deposit.yaml:/config.yaml
command: deposit
coinpayments-deposit-verify:
image: tokend/coinpayments:0.3.0
image: tokend/coinpayments:0.4.0
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
volumes:
- ./configs/coinpayments-deposit-verify.yaml:/config.yaml
command: deposit-verify
coinpayments-withdraw:
image: tokend/coinpayments:0.3.0
image: tokend/coinpayments:0.4.0
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
volumes:
- ./configs/coinpayments-withdraw.yaml:/config.yaml
command: withdraw
coinpayments-atomic-swap-checker:
image: tokend/coinpayments:0.4.0
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
volumes:
- ./configs/coinpayments-atomic-swap-checker.yaml:/config.yaml
command: atomic-swap-checker
coinpayments-atomic-swap-matcher:
image: tokend/coinpayments:0.4.0
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
volumes:
- ./configs/coinpayments-atomic-swap-matcher.yaml:/config.yaml
command: atomic-swap-matcher

volumes:
adks-data:
Expand Down
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ provider "tokend" {
}

module "tokend_vanilla" {
source = "git::https://github.com/tokend/terraform-tokend-vanilla.git?ref=v1.1.0"
source = "git::https://github.com/tokend/terraform-tokend-vanilla.git?ref=9ed018b674c727179cb7c41a93824d56b85b8b7b"
}

0 comments on commit 1262c8e

Please sign in to comment.