https://github.com/hasufell/docker-gentoo-znc
Gentoo docker znc
https://github.com/hasufell/docker-gentoo-znc
Last synced: about 2 months ago
JSON representation
Gentoo docker znc
- Host: GitHub
- URL: https://github.com/hasufell/docker-gentoo-znc
- Owner: hasufell
- Created: 2015-10-16T13:08:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-03T20:39:36.000Z (about 9 years ago)
- Last Synced: 2025-01-28T18:45:59.433Z (4 months ago)
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
```sh
docker build -t hasufell/gentoo-znc .
```## Configuration
All znc data including configuration is located at `/var/lib/znc/`. You
definitely want to mount this in from the host or create a data volume
container for it.Since znc configuration is complex, you are required to create all relevant
config files yourself at that location `/var/lib/znc/` or use the interactive
method from the ebuild, e.g.:```sh
docker run -ti \
-v :/var/lib/znc \
hasufell/gentoo-znc \
/usr/bin/znc --system-wide-config-as znc -c -r -d /var/lib/znc
```Also make sure the permissions on `/var/lib/znc/` are `znc:znc`.
### Certificates
Mount in your pem file from the host into the container, e.g. at `/etc/ssl/znc`,
and then make sure it is correctly set in `/var/lib/znc/configs/znc.conf`
(SSLCertFile = ...).## Running
A full command could look like this:
```sh
docker run -ti -d \
--name=znc \
-v :/var/lib/znc \
-v :/etc/ssl/znc \
-p 9000:9000 \
hasufell/gentoo-znc
```