diff options
Diffstat (limited to 'docs/docker.md')
| -rw-r--r-- | docs/docker.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/docker.md b/docs/docker.md new file mode 100644 index 0000000..0dd8bec --- /dev/null +++ b/docs/docker.md @@ -0,0 +1,23 @@ +### Using Docker + +If you want to avoid all the hassle of installing the dependencies, configuring nginx and etc you can simply use our docker image which makes things way faster. + +First make sure you have docker and docker composer installed, so please follow the install instructions for your OS/Distro: +- https://docs.docker.com/engine/install/debian/ +- https://docs.docker.com/compose/install/ + +After that: +- Copy the config file called `docker-compose.config.example.yml` to `docker-compose.config.yml` with the values you want. Those that are left commented will use the default values. +- Copy either `chibisafe.moe.http.example.conf` or `chibisafe.moe.https.example.conf` to `chibisafe.moe.conf` for either HTTP or HTTPS +- - If using HTTPS make sure to put your certs into the `ssl` folder and name them accordingly: +- - - `chibisafe.moe.crt` for the certificate +- - - `chibisafe.moe.key` for the certificate key + +Once you are done run the following commands: + +- `cd docker` +- `./chibisafe prod pull` +- `./chibisafe prod build` +- `./chibisafe prod up -d` + +Congrats, your chibisafe instance is now running. |