mirror of
https://github.com/linuxserver/docker-documentation.git
synced 2026-02-19 18:14:15 +08:00
Bot Updating Documentation
This commit is contained in:
parent
13a72f32e0
commit
fd9d8ece6a
@ -57,9 +57,9 @@ The server requires several cryptographic keys to function. You can either let t
|
||||
This is the simplest method. On the first launch with an empty `/config` volume:
|
||||
|
||||
1. An init process automatically generates the mandatory server key (`server_key.pem`) and a self-signed SSL certificate for the proxy (`proxy_key.pem`, `proxy_cert.pem`).
|
||||
2. The application will then detect that no administrator exists, create a default user named `admin`, and output its **private key** directly to the container logs.
|
||||
2. The application will then detect that no administrator exists, create a default user named `admin`, and output a configuration file admin.json into the `/config/` directory.
|
||||
|
||||
Your only action is to check the logs immediately after the first startup, copy the entire private key block for the `admin` user, and save it securely. **This key will not be shown again.**
|
||||
Your only action is if the `HOST_URL` environment variable is not set to replace the `HOST_URL` string in the file with your IP/URL.
|
||||
|
||||
### Manual Pre-Configuration (Advanced)
|
||||
|
||||
@ -104,6 +104,7 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- HOST_URL=IP|subdomain.doman.com #optional
|
||||
volumes:
|
||||
- /path/to/sealskin/config:/config
|
||||
- /path/to/sealskin/storage:/storage
|
||||
@ -123,6 +124,7 @@ docker run -d \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Etc/UTC \
|
||||
-e HOST_URL=IP|subdomain.doman.com `#optional` \
|
||||
-p 8000:8000 \
|
||||
-p 8443:8443 \
|
||||
-v /path/to/sealskin/config:/config \
|
||||
@ -156,6 +158,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||
| `PUID=1000` | for UserID - see below for explanation |
|
||||
| `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). |
|
||||
| `HOST_URL=IP|subdomain.doman.com` | On initial setup this will be used to fill in the default admin configuration file in the `/config` directory, if unset the string HOST_URL will need to be replaced. |
|
||||
|
||||
### Volume Mappings (`-v`)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user