commit e4d44651917e613e5ed3a6dbbfd53eabd576d919 Author: Tobias Schmidl <5060861-schtobia@users.noreply.gitlab.com> Date: Tue Sep 28 07:23:27 2021 +0200 initial diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a1973da --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ + +### Vim +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +## custom to this docker-compose file +/data diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..956cae0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,65 @@ +--- +version: '3.7' +services: + echo: + command: + - '-text=
Hello, world.
' + init: true + expose: [5678/tcp] + restart: unless-stopped + environment: + TZ: Europe/Berlin + QUASSEL_HOSTNAME: + 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 + + certdumper: + image: humenius/traefik-certs-dumper + init: true + network_mode: none + command: '--restart-containers quassel-core' + volumes: + - ../traefik/acme:/traefik:ro + - ./data/ssl/:/output:rw + - /var/run/docker.sock:/var/run/docker.sock:ro + depends_on: [ echo ] + environment: + OVERRIDE_UID: 1000 + OVERRIDE_GID: 1000 + QUASSEL_HOSTNAME: + DOMAIN: ${QUASSEL_HOSTNAME} + healthcheck: + test: ["CMD", "/usr/bin/healthcheck"] + interval: 30s + timeout: 10s + retries: 5 + + quassel-core: + image: ghcr.io/linuxserver/quassel-core + container_name: quassel-core + init: true + environment: + PUID: 1000 + PGID: 1000 + DB_BACKEND: SQLite + AUTH_AUTHENTICATOR: Database + TZ: Europe/Berlin + RUN_OPTS: --config-from-environment --require-ssl --ssl-cert /ssl/cert.pem --ssl-key /ssl/key.pem + depends_on: [ certdumper ] + volumes: + - ./data/config:/config:rw + - ./data/ssl:/ssl:ro + ports: + - 4242:4242 + - 113:10113 #optional + restart: unless-stopped +networks: + default: + name: traefik_internal + external: true +...