mirror of
https://github.com/Blockstream/satellite-api.git
synced 2024-11-19 04:50:01 +01:00
Rename db paths from ionosphere to satellite-api
This commit is contained in:
parent
4177f8577b
commit
06469b6572
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user