Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -12,14 +12,15 @@ pinned: false
|
|
| 12 |
|
| 13 |
This Space runs a PostgreSQL database instance along with [pgweb](https://github.com/sosedoff/pgweb), a lightweight web-based database browser.
|
| 14 |
|
| 15 |
-
## ⚠️
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
-
2. Scroll to **Persistent Storage**.
|
| 21 |
-
3. Select a tier (e.g., Small).
|
| 22 |
-
4. The storage will be mounted at `/data` (which is mapped to `/var/lib/postgresql/data` in the Dockerfile).
|
| 23 |
|
| 24 |
## Accessing the Database
|
| 25 |
|
|
|
|
| 12 |
|
| 13 |
This Space runs a PostgreSQL database instance along with [pgweb](https://github.com/sosedoff/pgweb), a lightweight web-based database browser.
|
| 14 |
|
| 15 |
+
## ⚠️ Note: Ephemeral Storage
|
| 16 |
|
| 17 |
+
You have chosen to use the container's built-in storage.
|
| 18 |
+
**Warning**: This storage is **ephemeral**.
|
| 19 |
+
- If the Space restarts (which happens after 48 hours of inactivity or during updates), **ALL DATA WILL BE LOST**.
|
| 20 |
+
- This setup is suitable for testing, demos, or temporary data.
|
| 21 |
+
- If you need to save data permanently, you must enable Persistent Storage in Settings later.
|
| 22 |
|
| 23 |
+
The database files are stored at `/var/lib/postgresql/data/pgdata`.
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
## Accessing the Database
|
| 26 |
|