v3.0.0/docs/docker.md

24 lines
1.1 KiB
Markdown
Raw Normal View History

2021-02-05 16:25:43 +01:00
### 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.
2021-02-20 00:42:23 +01:00
2021-02-20 17:10:58 +01:00
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/
2021-02-20 00:42:23 +01:00
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:
2021-02-05 16:25:43 +01:00
- `cd docker`
- `./chibisafe.sh prod pull`
- `./chibisafe.sh prod build`
- `./chibisafe.sh prod up -d`
2021-02-05 16:25:43 +01:00
Congrats, your chibisafe instance is now running.