sorted lines

This commit is contained in:
Tobias Schmidl 2021-10-10 09:32:24 +02:00
parent 5732d8ed27
commit 350423ad79

View file

@ -2,62 +2,63 @@
version: '3.7' version: '3.7'
services: services:
echo: echo:
image: hashicorp/http-echo
command: command:
- '-text=<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><title>schmidl.dev</title></head><body><p>Hello, world.</p></body></html>' - '-text=<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><title>schmidl.dev</title></head><body><p>Hello, world.</p></body></html>'
init: true
expose: [5678/tcp]
restart: unless-stopped
environment: environment:
TZ: Europe/Berlin TZ: Europe/Berlin
QUASSEL_HOSTNAME: QUASSEL_HOSTNAME:
image: hashicorp/http-echo expose: [5678/tcp]
init: true
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.quasselecho.entryPoints=websecure - traefik.http.routers.quasselecho.entryPoints=websecure
- traefik.http.routers.quasselecho.middlewares=commonSSLHeaders - traefik.http.routers.quasselecho.middlewares=commonSSLHeaders
- traefik.http.routers.quasselecho.rule=Host(`${QUASSEL_HOSTNAME}`) - traefik.http.routers.quasselecho.rule=Host(`${QUASSEL_HOSTNAME}`)
- traefik.http.routers.quasselecho.tls.certResolver=acmelive - traefik.http.routers.quasselecho.tls.certResolver=acmelive
restart: unless-stopped
certdumper: certdumper:
image: humenius/traefik-certs-dumper image: humenius/traefik-certs-dumper
init: true
network_mode: none
command: '--restart-containers quassel-core' 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 ] depends_on: [ echo ]
environment: environment:
OVERRIDE_UID: 1000
OVERRIDE_GID: 1000
QUASSEL_HOSTNAME:
DOMAIN: ${QUASSEL_HOSTNAME} DOMAIN: ${QUASSEL_HOSTNAME}
OVERRIDE_GID: 1000
OVERRIDE_UID: 1000
QUASSEL_HOSTNAME:
healthcheck: healthcheck:
test: ["CMD", "/usr/bin/healthcheck"] test: ["CMD", "/usr/bin/healthcheck"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 5 retries: 5
init: true
network_mode: none
volumes:
- ../traefik/acme:/traefik:ro
- ./data/ssl/:/output:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
quassel-core: quassel-core:
image: ghcr.io/linuxserver/quassel-core image: ghcr.io/linuxserver/quassel-core
container_name: 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 ] depends_on: [ certdumper ]
volumes: environment:
- ./data/config:/config:rw AUTH_AUTHENTICATOR: Database
- ./data/ssl:/ssl:ro DB_BACKEND: SQLite
PGID: 1000
PUID: 1000
RUN_OPTS: --config-from-environment --require-ssl --ssl-cert /ssl/cert.pem --ssl-key /ssl/key.pem
TZ: Europe/Berlin
init: true
ports: ports:
- 4242:4242 - 4242:4242
- 113:10113 #optional - 113:10113 #optional
restart: unless-stopped restart: unless-stopped
volumes:
- ./data/config:/config:rw
- ./data/ssl:/ssl:ro
networks: networks:
default: default:
name: traefik_internal name: traefik_internal