You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, Stellar Core uses SQLite for its database. To use PostgreSQL instead, set the `CORE_USE_POSTGRES` environment variable:
211
+
212
+
```shell
213
+
docker run -e CORE_USE_POSTGRES=true -p "8000:8000" stellar/quickstart --local
214
+
```
215
+
216
+
When `CORE_USE_POSTGRES=true`:
217
+
- A `core` PostgreSQL database is created alongside the `horizon` database
218
+
- Stellar Core connects to PostgreSQL instead of SQLite
219
+
- PostgreSQL is started before Stellar Core
220
+
221
+
> [!WARNING]
222
+
> PostgreSQL support for Stellar Core in Quickstart is deprecated and will likely be removed in a future release. It is highly recommended not to use this feature if you are not already using PostgreSQL. If you are currently using PostgreSQL for Stellar Core in Quickstart, please comment on [this issue](https://github.com/stellar/quickstart/issues/875) with information about your use case for which PostgreSQL is necessary.
223
+
208
224
### Stellar Lab
209
225
210
226
Stellar Lab is an interactive toolkit for exploring and interacting with the Stellar network. It allows developers to build, sign, simulate, and submit transactions, and to make requests to both the Friendbot, RPC, and Horizon APIs. Lab is also built-in to Quickstart.
@@ -495,7 +511,7 @@ The point of this project is to make running stellar's software within your own
495
511
496
512
This image manages a postgres database `horizon` for horizon's data. The username to use when connecting with your postgresql client or library is `stellar`. The password to use is dependent upon the mode your container is running in: Persistent mode uses a password supplied by you and ephemeral mode generates a password and prints it to the console upon container startup.
497
513
498
-
Note: In the past, stellar-core also used PostgreSQL with a `core` database. Stellar-core now uses SQLite, so PostgreSQL is only started when Horizon is enabled.
514
+
Note: By default, stellar-core uses SQLite. To use PostgreSQL for stellar-core, set `CORE_USE_POSTGRES=true` (see [Core Database Options](#core-database-options)). When using PostgreSQL, a `core` database is also created.
0 commit comments