Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename .env files to .dev.env #58

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions apps/api/.dev.env
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PORT=4000
NODE_ENV='development'
SWAP_GRPC_URL='0.0.0.0:4040'
NOSTR_GRPC_URL='0.0.0.0:4050'
SMS_GRPC_URL='0.0.0.0:4060'
SHARES_GRPC_URL='0.0.0.0:4070'
SOLOWALLET_GRPC_URL='0.0.0.0:4080'
REDIS_HOST='0.0.0.0'
SWAP_GRPC_URL='swap:4040'
NOSTR_GRPC_URL='nostr:4050'
SMS_GRPC_URL='sms:4060'
SHARES_GRPC_URL='shares:4070'
SOLOWALLET_GRPC_URL='solowallet:4080'
REDIS_HOST='redis'
REDIS_PORT=6379
2 changes: 1 addition & 1 deletion apps/nostr/.dev.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NODE_ENV='development'
NOSTR_GRPC_URL='0.0.0.0:4050'
NOSTR_GRPC_URL='nostr:4050'
NOSTR_PUBLIC_KEY=ce79848d6bd7cb0d7cfa18a81dc5f46459f5b7404d2489d0b60aa4069ff48dcb
NOSTR_PRIVATE_KEY=nsec1tlqwv9dupsn4d54zzagw66tp924uwgfr6cgzphv5atq8m66a63fq86hmr0
2 changes: 1 addition & 1 deletion apps/shares/.dev.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NODE_ENV='development'
SHARES_GRPC_URL='0.0.0.0:4070'
SHARES_GRPC_URL='shares:4070'
SHARES_ISSUED='10000'
DATABASE_URL=mongodb://bs:password@mongodb:27017
2 changes: 1 addition & 1 deletion apps/sms/.dev.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NODE_ENV='development'
SMS_GRPC_URL='0.0.0.0:4060'
SMS_GRPC_URL='sms:4060'
SMS_AT_API_KEY=5630171cd8c1a35ef67b07bbf1697feaad1a32d891cce6712271bf8c2815beea
SMS_AT_USERNAME=sandbox
SMS_AT_FROM='21000'
Expand Down
6 changes: 3 additions & 3 deletions apps/solowallet/.dev.env
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
NODE_ENV='development'
SOLOWALLET_GRPC_URL='0.0.0.0:4080'
SWAP_GRPC_URL='0.0.0.0:4040'
SOLOWALLET_GRPC_URL='solowallet:4080'
SWAP_GRPC_URL='swap:4040'
DATABASE_URL=mongodb://bs:password@mongodb:27017
FEDIMINT_CLIENTD_BASE_URL=http://0.0.0.0:7070
FEDIMINT_CLIENTD_BASE_URL=http://clientd:7070
FEDIMINT_CLIENTD_PASSWORD=fmcdpass
FEDIMINT_FEDERATION_ID=596ab5a5456376f925d145a2ef038cc5a70b99be7d2d0eb30feca5e849ecd351
FEDIMINT_GATEWAY_ID=03187672262e17300f4822bb64c18ef74a266ebe1780631543b188537f9cf4a904
8 changes: 4 additions & 4 deletions apps/swap/.dev.env
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
NODE_ENV='development'
SWAP_GRPC_URL='0.0.0.0:4040'
REDIS_HOST='0.0.0.0'
SWAP_GRPC_URL='swap:4040'
REDIS_HOST='redis'
REDIS_PORT='6379'
MOCK_BTC_KES_RATE='8708520.117232416'
# CURRENCY_API_KEY='foo-bar-baz'
DATABASE_URL=mongodb://bs:password@0.0.0.0:27017
DATABASE_URL=mongodb://bs:password@mongodb:27017
INTASEND_PUBLIC_KEY=ISPubKey_test_925ab885-f06d-4ace-8507-4186413a59a4
INTASEND_PRIVATE_KEY=ISSecretKey_test_3d887e44-33c4-4455-978e-d2ae7b10907d
FEDIMINT_CLIENTD_BASE_URL=http://0.0.0.0:7070
FEDIMINT_CLIENTD_BASE_URL=http://clientd:7070
FEDIMINT_CLIENTD_PASSWORD=fmcdpass
FEDIMINT_FEDERATION_ID=596ab5a5456376f925d145a2ef038cc5a70b99be7d2d0eb30feca5e849ecd351
FEDIMINT_GATEWAY_ID=03187672262e17300f4822bb64c18ef74a266ebe1780631543b188537f9cf4a904
10 changes: 5 additions & 5 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
]
restart: always
depends_on:
- swap-clientd
- clientd
- mongodb
- redis
env_file:
Expand Down Expand Up @@ -146,17 +146,17 @@ services:
- '6379:6379'
restart: always

swap-clientd:
clientd:
image: okjodom/fedimint-clientd:v0.4.0
container_name: swap-clientd
container_name: clientd
environment:
- FEDIMINT_CLIENTD_DB_PATH=/var/lib/clientd
- FEDIMINT_CLIENTD_PASSWORD=fmcdpass
- FEDIMINT_CLIENTD_ADDR=0.0.0.0:7070
- FEDIMINT_CLIENTD_ADDR=clientd:7070
- FEDIMINT_CLIENTD_MODE=rest
- FEDIMINT_CLIENTD_INVITE_CODE=fed11qgqrwdthwden5te0v9cxjttndakk2ttrdpjk2um994erx7rsx568vur9dy68z6pnvd6xg63hwsh8wmn90p6zuctswqhsqqfqt94ttf29vdm0jfw3gk3w7quvcknshxd705ksavc0ajj7sj0v6dgsxcydnc
ports:
- 0.0.0.0:7070:7070
- 7070:7070
volumes:
- swap_clientd_datadir:/var/lib/clientd
restart: always
Expand Down
3 changes: 0 additions & 3 deletions scripts/api.manual.dev.sh

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/shares.manual.dev.sh

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/sms.manual.dev.sh

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/swap.manual.dev.sh

This file was deleted.

Loading