Skip to content

Commit fd9d8ec

Browse files
Bot Updating Documentation
1 parent 13a72f3 commit fd9d8ec

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/images/docker-sealskin.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ The server requires several cryptographic keys to function. You can either let t
5757
This is the simplest method. On the first launch with an empty `/config` volume:
5858

5959
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`).
60-
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.
60+
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.
6161

62-
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.**
62+
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.
6363

6464
### Manual Pre-Configuration (Advanced)
6565

@@ -104,6 +104,7 @@ services:
104104
- PUID=1000
105105
- PGID=1000
106106
- TZ=Etc/UTC
107+
- HOST_URL=IP|subdomain.doman.com #optional
107108
volumes:
108109
- /path/to/sealskin/config:/config
109110
- /path/to/sealskin/storage:/storage
@@ -123,6 +124,7 @@ docker run -d \
123124
-e PUID=1000 \
124125
-e PGID=1000 \
125126
-e TZ=Etc/UTC \
127+
-e HOST_URL=IP|subdomain.doman.com `#optional` \
126128
-p 8000:8000 \
127129
-p 8443:8443 \
128130
-v /path/to/sealskin/config:/config \
@@ -156,6 +158,7 @@ Containers are configured using parameters passed at runtime (such as those abov
156158
| `PUID=1000` | for UserID - see below for explanation |
157159
| `PGID=1000` | for GroupID - see below for explanation |
158160
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
161+
| `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. |
159162

160163
### Volume Mappings (`-v`)
161164

0 commit comments

Comments
 (0)