Verified Commit 907d7a2a authored by Jan-Eric Ortgies's avatar Jan-Eric Ortgies
Browse files

add traefik config, update README

parent 1d3917bc
# docker-irc
### Setup
* change `kiwiServer` in `config.json` to your host
* change `INSP_*` variables in `docker-compose.yml` to your needs
* `docker-compose up -d`
* _Optional_
* when running with traefik
* update settings in `docker-compose.traefik.yml`
* ensure the `web` network exists `docker network create web`
* execute `docker-compose -f docker-compose.yml -f docker-compose.traefik.yml up -d`
* expose port 6667 if external connections to the irc should be allowed
version: '3'
services:
app:
ports:
- 80:80
version: '3'
services:
app:
networks:
- web
labels:
- traefik.http.routers.irc.rule=Host(`irc.ortgies.it`)
- traefik.http.routers.irc.tls=true
- traefik.http.routers.irc.tls.certresolver=le
irc:
networks:
- web
networks:
web:
external: true
......@@ -7,13 +7,12 @@ services:
volumes:
- ./config.json:/app/www/static/config.json:ro
- ./config.conf:/app/config.conf:ro
ports:
- 80:80
irc:
image: inspircd/inspircd-docker
environment:
- "INSP_NET_SUFFIX=.ortgies.it"
- "INSP_NET_NAME=Infrastruktur IRC"
- "INSP_NET_NAME=InfrastrukturIRC"
- "INSP_SERVER_NAME=irc.ortgies.it"
- "INSP_ADMIN_NAME=Jan-Eric Ortgies"
- "INSP_ADMIN_NICK=janeric"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment