2021-04-21 00:55:42 +00:00
|
|
|
# [Znc](http://wiki.znc.in/ZNC) is an IRC network bouncer or BNC. It can detach
|
|
|
|
# the client from the actual IRC server, and also from selected channels.
|
|
|
|
# Multiple clients from different locations can connect to a single ZNC account
|
|
|
|
# simultaneously and therefore appear under the same nickname on IRC.
|
2021-04-10 10:16:29 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
znc:
|
|
|
|
image: ghcr.io/linuxserver/znc
|
|
|
|
container_name: znc
|
|
|
|
environment:
|
|
|
|
# for GroupID
|
|
|
|
- PUID=${PUID:-1024}
|
|
|
|
# for UserID
|
|
|
|
- PGID=${PGID:-100}
|
|
|
|
# Specify a timezone to use for example Europe/Amsterdam
|
2021-04-13 00:58:58 +00:00
|
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
2021-04-10 10:16:29 +00:00
|
|
|
volumes:
|
|
|
|
# Where local ZNC data is stored.
|
|
|
|
- ${BASEDIR:-/volume1/docker}/znc/config:/config
|
|
|
|
ports:
|
|
|
|
# Port ZNC listens on.
|
|
|
|
- 6501:6501
|
|
|
|
restart: unless-stopped
|