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
|
|
|
|
2023-04-26 00:53:18 +00:00
|
|
|
. ./.env
|
2021-04-10 10:16:29 +00:00
|
|
|
docker run -d \
|
|
|
|
--name=znc \
|
2022-04-02 00:45:58 +00:00
|
|
|
-e PUID=${PUID:-1024} `# for UserID` \
|
|
|
|
-e PGID=${PGID:-100} `# for GroupID` \
|
2023-02-26 14:51:38 +00:00
|
|
|
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
|
2021-04-10 10:16:29 +00:00
|
|
|
-p 6501:6501 `# Port ZNC listens on.` \
|
2024-01-22 01:26:24 +00:00
|
|
|
-v ${BASEDIR:-/volume1/docker}/znc/config:/config `# Persistent config files` \
|
2021-04-10 10:16:29 +00:00
|
|
|
--restart unless-stopped \
|
|
|
|
ghcr.io/linuxserver/znc
|