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
Copy file name to clipboardExpand all lines: docs/images/docker-sealskin.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,9 @@ The server requires several cryptographic keys to function. You can either let t
57
57
This is the simplest method. On the first launch with an empty `/config` volume:
58
58
59
59
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.
61
61
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.
63
63
64
64
### Manual Pre-Configuration (Advanced)
65
65
@@ -104,6 +104,7 @@ services:
104
104
- PUID=1000
105
105
- PGID=1000
106
106
- TZ=Etc/UTC
107
+
- HOST_URL=IP|subdomain.doman.com #optional
107
108
volumes:
108
109
- /path/to/sealskin/config:/config
109
110
- /path/to/sealskin/storage:/storage
@@ -123,6 +124,7 @@ docker run -d \
123
124
-e PUID=1000 \
124
125
-e PGID=1000 \
125
126
-e TZ=Etc/UTC \
127
+
-e HOST_URL=IP|subdomain.doman.com `#optional` \
126
128
-p 8000:8000 \
127
129
-p 8443:8443 \
128
130
-v /path/to/sealskin/config:/config \
@@ -156,6 +158,7 @@ Containers are configured using parameters passed at runtime (such as those abov
156
158
|`PUID=1000`| for UserID - see below for explanation |
157
159
|`PGID=1000`| for GroupID - see below for explanation |
158
160
|`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. |
0 commit comments