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 #57

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
3 changes: 2 additions & 1 deletion apps/api/.env.manual → apps/api/.dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ 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'
REDIS_PORT=6379
REDIS_PORT=6379
4 changes: 4 additions & 0 deletions apps/nostr/.dev.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NODE_ENV='development'
NOSTR_GRPC_URL='0.0.0.0:4050'
NOSTR_PUBLIC_KEY=ce79848d6bd7cb0d7cfa18a81dc5f46459f5b7404d2489d0b60aa4069ff48dcb
NOSTR_PRIVATE_KEY=nsec1tlqwv9dupsn4d54zzagw66tp924uwgfr6cgzphv5atq8m66a63fq86hmr0
2 changes: 1 addition & 1 deletion apps/shares/.env.manual → 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_ISSUED='10000'
DATABASE_URL=mongodb://bs:password@0.0.0.0:27017
DATABASE_URL=mongodb://bs:password@mongodb:27017
File renamed without changes.
4 changes: 2 additions & 2 deletions apps/solowallet/.env.manual → 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'
DATABASE_URL=mongodb://bs:password@0.0.0.0:27017
FEDIMINT_CLIENTD_BASE_URL=http://swap-clientd:7070
DATABASE_URL=mongodb://bs:password@mongodb:27017
FEDIMINT_CLIENTD_BASE_URL=http://0.0.0.0:7070
FEDIMINT_CLIENTD_PASSWORD=fmcdpass
FEDIMINT_FEDERATION_ID=596ab5a5456376f925d145a2ef038cc5a70b99be7d2d0eb30feca5e849ecd351
FEDIMINT_GATEWAY_ID=03187672262e17300f4822bb64c18ef74a266ebe1780631543b188537f9cf4a904
File renamed without changes.
16 changes: 9 additions & 7 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
depends_on:
- mongodb
env_file:
- ./apps/api/.env
- ./apps/api/.dev.env
ports:
- '4000:4000'
volumes:
Expand All @@ -32,7 +32,7 @@ services:
- mongodb
- redis
env_file:
- ./apps/swap/.env
- ./apps/swap/.dev.env
ports:
- '4040:4040'
volumes:
Expand All @@ -54,7 +54,7 @@ services:
- mongodb
- redis
env_file:
- ./apps/nostr/.env
- ./apps/nostr/.dev.env
ports:
- '4050:4050'
volumes:
Expand All @@ -76,7 +76,7 @@ services:
- mongodb
- redis
env_file:
- ./apps/sms/.env
- ./apps/sms/.dev.env
ports:
- '4060:4060'
volumes:
Expand All @@ -98,7 +98,7 @@ services:
- mongodb
- redis
env_file:
- ./apps/shares/.env
- ./apps/shares/.dev.env
ports:
- '4070:4070'
volumes:
Expand All @@ -121,7 +121,7 @@ services:
- mongodb
- redis
env_file:
- ./apps/solowallet/.env
- ./apps/solowallet/.dev.env
ports:
- '4080:4080'
volumes:
Expand All @@ -134,7 +134,7 @@ services:
- MONGO_INITDB_ROOT_USERNAME=bs
- MONGO_INITDB_ROOT_PASSWORD=password
ports:
- '27017:27017'
- '0.0.0.0:27017:27017'
volumes:
- mongodb_datadir:/data/db
restart: always
Expand All @@ -145,6 +145,7 @@ services:
ports:
- '6379:6379'
restart: always

swap-clientd:
image: okjodom/fedimint-clientd:v0.4.0
container_name: swap-clientd
Expand All @@ -159,6 +160,7 @@ services:
volumes:
- swap_clientd_datadir:/var/lib/clientd
restart: always

volumes:
mongodb_datadir:
swap_clientd_datadir:
Loading