2020-03-08 18:12:12 +00:00
|
|
|
version: "2.3"
|
2020-02-09 13:19:45 +00:00
|
|
|
services:
|
|
|
|
quassel-core:
|
2020-05-14 14:16:19 +01:00
|
|
|
image: linuxserver/quassel-core:0.13.1-ls54
|
2020-02-09 13:19:45 +00:00
|
|
|
container_name: quassel
|
|
|
|
environment:
|
|
|
|
- PUID={{ docker_user.id }}
|
|
|
|
- PGID={{ docker_user.id }}
|
|
|
|
- TZ=Europe/London
|
|
|
|
- DB_BACKEND=PostgreSQL
|
|
|
|
- DB_PGSQL_USERNAME=quassel
|
|
|
|
- DB_PGSQL_PASSWORD=quassel
|
|
|
|
- DB_PGSQL_HOSTNAME=db
|
|
|
|
- DB_PGSQL_PORT=5432
|
|
|
|
- AUTH_AUTHENTICATOR=Database
|
|
|
|
- RUN_OPTS=--config-from-environment
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
ports:
|
|
|
|
- "{{ wireguard.clients.intersect.ip }}:4242:4242"
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:12-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=quassel
|
|
|
|
- POSTGRES_PASSWORD=quassel
|
|
|
|
volumes:
|
|
|
|
- ./postgresql:/var/lib/postgresql/data
|