quasselcore/docker-compose.yml

71 lines
1.8 KiB
YAML
Raw Normal View History

2021-09-28 07:23:27 +02:00
---
version: '3.7'
services:
2022-12-07 09:31:04 +01:00
quassel-web:
image: lscr.io/linuxserver/quassel-web:latest
container_name: quassel-web
2021-09-28 07:23:27 +02:00
environment:
2022-12-07 09:31:04 +01:00
PUID: 1000
PGID: 1000
QUASSEL_CORE: ${QUASSEL_HOSTNAME}
QUASSEL_PORT: 4242
2021-09-28 07:23:27 +02:00
QUASSEL_HOSTNAME:
2022-12-07 09:31:04 +01:00
TZ:
expose: [ 64080/tcp ]
2021-09-28 07:23:27 +02:00
labels:
2022-12-07 09:31:04 +01:00
traefik.enable: true
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
volumes:
- ./quassel-web:/config
2021-10-10 09:32:24 +02:00
restart: unless-stopped
2021-09-28 07:23:27 +02:00
certdumper:
image: humenius/traefik-certs-dumper
command: '--restart-containers quassel-core'
2022-12-07 09:31:04 +01:00
depends_on: [ quassel-web ]
2021-09-28 07:23:27 +02:00
environment:
2021-10-10 09:32:24 +02:00
DOMAIN: ${QUASSEL_HOSTNAME}
2021-09-28 07:23:27 +02:00
OVERRIDE_GID: 1000
2021-10-10 09:32:24 +02:00
OVERRIDE_UID: 1000
2021-09-28 07:23:27 +02:00
QUASSEL_HOSTNAME:
2022-08-25 06:05:05 +02:00
TZ:
2021-09-28 07:23:27 +02:00
healthcheck:
test: ["CMD", "/usr/bin/healthcheck"]
interval: 30s
timeout: 10s
retries: 5
2021-10-10 09:32:24 +02:00
init: true
network_mode: none
volumes:
- ../traefik/acme:/traefik:ro
- ./data/ssl/:/output:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
2021-09-28 07:23:27 +02:00
quassel-core:
image: ghcr.io/linuxserver/quassel-core
container_name: quassel-core
2021-10-10 09:32:24 +02:00
depends_on: [ certdumper ]
2021-09-28 07:23:27 +02:00
environment:
AUTH_AUTHENTICATOR: Database
2021-10-10 09:32:24 +02:00
DB_BACKEND: SQLite
PGID: 1000
PUID: 1000
2021-09-28 07:23:27 +02:00
RUN_OPTS: --config-from-environment --require-ssl --ssl-cert /ssl/cert.pem --ssl-key /ssl/key.pem
2022-08-25 06:05:05 +02:00
TZ:
2021-09-28 07:23:27 +02:00
ports:
- 4242:4242
- 113:10113 #optional
restart: unless-stopped
2021-10-10 09:32:24 +02:00
volumes:
- ./data/config:/config:rw
- ./data/ssl:/ssl:ro
2021-09-28 07:23:27 +02:00
networks:
default:
name: traefik_internal
external: true
...