Rename db paths from ionosphere to satellite-api

This commit is contained in:
Blockstream Satellite 2023-05-23 10:24:48 -03:00
parent 4177f8577b
commit 06469b6572
2 changed files with 5 additions and 5 deletions

View File

@ -1,17 +1,17 @@
development:
adapter: sqlite3
database: /data/ionosphere/ionosphere_development.sqlite3
database: /data/satellite-api/db_development.sqlite3
pool: 5
timeout: 5000
test:
adapter: sqlite3
database: /tmp/ionosphere_test.sqlite3
database: /tmp/satellite_api_test_db.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: /data/ionosphere/ionosphere_production.sqlite3
database: /data/satellite-api/db_production.sqlite3
pool: 5
timeout: 5000

View File

@ -233,7 +233,7 @@ write_files:
--name=api-server \
--log-opt max-size=200m \
--log-opt max-file=3 \
-v /mnt/disks/data/ionosphere:/data \
-v /mnt/disks/data/satellite-api:/data \
-e "ENV=production" \
-e "CHARGE_ROOT=http://api-token:${charge_token}@localhost:9112" \
-e "CALLBACK_URI_ROOT=http://localhost:9292" \
@ -289,7 +289,7 @@ write_files:
--network=host \
--pid=host \
--name=api-workers \
-v /mnt/disks/data/ionosphere:/data \
-v /mnt/disks/data/satellite-api:/data \
-e ENV="production" \
-e "REDIS_URI=redis://localhost:6379" \
"${sat_api_docker}" workers.sh