aboutsummaryrefslogtreecommitdiff
path: root/docs/docker.md
diff options
context:
space:
mode:
authoriCrawl <[email protected]>2021-02-20 00:42:23 +0100
committeriCrawl <[email protected]>2021-02-20 00:42:23 +0100
commitf7bcd6718d63536672241b6503d348713133a340 (patch)
tree9fdb9758ee0a3acee47227c26eb43ab5c0793229 /docs/docker.md
parentchore: add docker docs (diff)
downloadhost.fuwn.me-f7bcd6718d63536672241b6503d348713133a340.tar.xz
host.fuwn.me-f7bcd6718d63536672241b6503d348713133a340.zip
chore: update docker guide
Diffstat (limited to 'docs/docker.md')
-rw-r--r--docs/docker.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/docker.md b/docs/docker.md
index f3fb23c..622c3e5 100644
--- a/docs/docker.md
+++ b/docs/docker.md
@@ -1,9 +1,16 @@
### 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, on Linux this would be `sudo apt install docker-ce`.
-After that edit the config file called `docker-compose.config.example.yml` with the values you want. Those that are left commented will use the default values.
-Once you are done editing that file remove the `example` from the name so it ends up being `docker-compose.config.yml` and run the following commands:
+
+First make sure you have docker and docker composer installed, on Debian/Ubuntu this would be `sudo apt install docker-ce`.
+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`