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: setup manual dev scripts for services #13

Merged
merged 1 commit into from
Nov 3, 2024
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
5 changes: 5 additions & 0 deletions apps/api/.env.manual
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PORT=4000
NODE_ENV='development'
SWAP_GRPC_URL='0.0.0.0:4040'
REDIS_HOST='0.0.0.0'
REDIS_PORT=6379
13 changes: 13 additions & 0 deletions apps/swap/.env.manual
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
NODE_ENV='development'
SWAP_GRPC_URL='0.0.0.0:4040'
REDIS_HOST='0.0.0.0'
REDIS_PORT='6379'
MOCK_BTC_KES_RATE='8708520.117232416'
# CURRENCY_API_KEY='foo-bar-baz'
DATABASE_URL=postgresql://bs:[email protected]:5432/swap
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_PASSWORD=fmcdpass
FEDIMINT_FEDERATION_ID=596ab5a5456376f925d145a2ef038cc5a70b99be7d2d0eb30feca5e849ecd351
FEDIMINT_GATEWAY_ID=03187672262e17300f4822bb64c18ef74a266ebe1780631543b188537f9cf4a904
1 change: 0 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ services:
restart: always
depends_on:
- postgres
- swap
env_file:
- ./apps/api/.env
ports:
Expand Down
3 changes: 3 additions & 0 deletions scripts/api.manual.dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

docker compose -f compose.yml -p os up -d postgres redis swap-clientd
bunx dotenv -e apps/api/.env.manual bun run dev api -- --trace-deprecation
3 changes: 3 additions & 0 deletions scripts/swap.manual.dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

docker compose -f compose.yml -p os up -d api postgres redis swap-clientd
bunx dotenv -e apps/swap/.env.manual bun run dev swap -- --trace-deprecation
Loading