Added README, renamed the labels
This commit is contained in:
parent
c8d7459327
commit
5732d8ed27
2 changed files with 29 additions and 4 deletions
25
README.md
Normal file
25
README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# quasselcore
|
||||
|
||||
## Purpose
|
||||
|
||||
[Quasselcore](https://quassel-irc.org/) works best with a real certificate. But if you have, like I have, a [traefik](https://traefik.io/) instance
|
||||
running, you should obtain your certificates from that instance. The combination of services in this `docker-compose` file ensures this.
|
||||
|
||||
## Installation
|
||||
|
||||
Very simple. Just fetch the `docker-compose` file and add your hostname (`QUASSEL_HOSTNAME`) to a local `.env` file:
|
||||
|
||||
$ echo "QUASSEL_HOSTNAME=example.local" > .env
|
||||
|
||||
Best then to check if everything is okay:
|
||||
|
||||
$ docker-compose config -q && echo "Everything is fine."
|
||||
Everything is fine.
|
||||
|
||||
Then fire it up:
|
||||
|
||||
$ docker-compose up -d
|
||||
Creating quasselcore_echo_1 ... done
|
||||
Creating quasselcore_certdumper_1 ... done
|
||||
Creating quassel-core ... done
|
||||
|
|
@ -13,10 +13,10 @@ services:
|
|||
image: hashicorp/http-echo
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.schmidldev.entryPoints=websecure
|
||||
- traefik.http.routers.schmidldev.middlewares=commonSSLHeaders
|
||||
- traefik.http.routers.schmidldev.rule=Host(`${QUASSEL_HOSTNAME}`)
|
||||
- traefik.http.routers.schmidldev.tls.certResolver=acmelive
|
||||
- traefik.http.routers.quasselecho.entryPoints=websecure
|
||||
- traefik.http.routers.quasselecho.middlewares=commonSSLHeaders
|
||||
- traefik.http.routers.quasselecho.rule=Host(`${QUASSEL_HOSTNAME}`)
|
||||
- traefik.http.routers.quasselecho.tls.certResolver=acmelive
|
||||
|
||||
certdumper:
|
||||
image: humenius/traefik-certs-dumper
|
||||
|
|
Loading…
Reference in a new issue