Bot Updating Documentation

pull/163/head
LinuxServer-CI 2023-11-14 15:51:30 +00:00
rodzic 04f66f0bb7
commit 21a0fc1933
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -58,7 +58,8 @@ services:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable
- HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable #optional
- HISHTORY_SQLITE_DB=/config/hishtory.db #optional
ports:
- 8080:8080
restart: unless-stopped
@ -72,7 +73,8 @@ docker run -d \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-e HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable \
-e HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable `#optional` \
-e HISHTORY_SQLITE_DB=/config/hishtory.db `#optional` \
-p 8080:8080 \
--restart unless-stopped \
lscr.io/linuxserver/hishtory-server:latest
@ -96,6 +98,7 @@ Containers are configured using parameters passed at runtime (such as those abov
| `PGID=1000` | for GroupID - see below for explanation |
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
| `HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable` | Postgres DB [Connection URI](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING). Special characters must be [URL encoded](https://en.wikipedia.org/wiki/URL_encoding). |
| `HISHTORY_SQLITE_DB=/config/hishtory.db` | SQLite database path. Needs to be a mounted volume for persistence. Don't set at the same time as HISHTORY_POSTGRES_DB. |
### Volume Mappings (`-v`)