sorted lines
This commit is contained in:
parent
5732d8ed27
commit
350423ad79
1 changed files with 25 additions and 24 deletions
|
@ -2,62 +2,63 @@
|
|||
version: '3.7'
|
||||
services:
|
||||
echo:
|
||||
image: hashicorp/http-echo
|
||||
command:
|
||||
- '-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:
|
||||
TZ: Europe/Berlin
|
||||
QUASSEL_HOSTNAME:
|
||||
image: hashicorp/http-echo
|
||||
expose: [5678/tcp]
|
||||
init: true
|
||||
labels:
|
||||
- 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
|
||||
restart: unless-stopped
|
||||
|
||||
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}
|
||||
OVERRIDE_GID: 1000
|
||||
OVERRIDE_UID: 1000
|
||||
QUASSEL_HOSTNAME:
|
||||
healthcheck:
|
||||
test: ["CMD", "/usr/bin/healthcheck"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
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:
|
||||
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
|
||||
environment:
|
||||
AUTH_AUTHENTICATOR: Database
|
||||
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:
|
||||
- 4242:4242
|
||||
- 113:10113 #optional
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data/config:/config:rw
|
||||
- ./data/ssl:/ssl:ro
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: traefik_internal
|
||||
|
|
Loading…
Reference in a new issue