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
Wiki.js is published as a Docker image on Docker Hub as `requarks/wiki` and on GitHub Packages as `ghcr.io/requarks/wiki`
16
+
Wiki.js is published as a Docker image on GitHub Packages as `ghcr.io/requarks/wiki` and on Docker Hub as `requarks/wiki`.
17
17
18
-
> It's highly recommended that you don't use the `latest` tag but instead the major version you need, e.g. `requarks/wiki:2`
18
+
> It's highly recommended that you don't use the `latest` tag but instead the major version you need, e.g. `ghcr.io/requarks/wiki:2`
19
19
>
20
-
> It's also possible to point to a specific minor version (e.g. `requarks/wiki:2.5`), although you will not automatically get the latest features when pulling the latest image.
20
+
> It's also possible to point to a specific minor version (e.g. `ghcr.io/requarks/wiki:2.5`), although you will not automatically get the latest features when pulling the latest image.
21
21
{.is-info}
22
22
23
-
- View on [Docker Hub](https://hub.docker.com/r/requarks/wiki)
24
23
- View on [GitHub Packages](https://github.com/Requarks/wiki/pkgs/container/wiki)
24
+
- View on [Docker Hub](https://hub.docker.com/r/requarks/wiki)
25
25
26
26
## Environment Variables
27
27
You must set the following environment variables. They are all **required** unless specified otherwise.
@@ -94,12 +94,12 @@ When running Wiki.js with multiple replicas (e.g. Kubernetes cluster / Docker Sw
94
94
95
95
Here's an example of a command to run Wiki.js connecting to a PostgreSQL database:
@@ -118,7 +118,7 @@ If using environment variables is not your cup of tea, you can also mount a conf
118
118
Create a new file based on the [sample config file](https://github.com/Requarks/wiki/blob/master/config.sample.yml) and modify the values to match your setup. You can then mount the config file in the container:
119
119
120
120
```bash
121
-
docker run -d -p 8080:3000 --name wiki --restart unless-stopped -v YOUR-FILE.yml:/wiki/config.yml requarks/wiki:2
121
+
docker run -d -p 8080:3000 --name wiki --restart unless-stopped -v YOUR-FILE.yml:/wiki/config.yml ghcr.io/requarks/wiki:2
122
122
```
123
123
124
124
It's also possible to define an alternate location for the config file to be loaded from, using the CONFIG_FILE env variable. This is useful in scenarios where you want to mount a configuration folder instead.
@@ -131,7 +131,7 @@ It's also possible to define an alternate location for the config file to be loa
131
131
By default, Wiki.js runs as user `wiki`. If you get permissions issues while mounting files (such as SQLite db or private keys), you can override the runtime user to run as `root` using the `-u` parameter, e.g.:
0 commit comments