You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-irc/docker-compose.yml

78 lines
2.0 KiB

4 years ago
version: "3"
services:
znc:
build:
context: znc/
container_name: znc
restart: unless-stopped
volumes:
- ${VOLUMES_FOLDER}/irc/znc/config:/config
- ${VOLUMES_FOLDER}/irc/znc/etc/proxychains/proxychains.conf:/etc/proxychains/proxychains.conf
ports:
- "6501:6501"
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
nginx-reverseproxy-irc:
image: nginx:stable-alpine
container_name: nginx-reverseproxy-irc
restart: unless-stopped
volumes:
- ${VOLUMES_FOLDER}/irc/nginx/data/conf.d:/etc/nginx/conf.d
expose:
- 80
environment:
- TZ=${TZ}
- VIRTUAL_HOST=${VIRTUAL_HOST}
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=${LETSENCRYPT_HOST}
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
webircgateway:
build:
context: webircgateway/
container_name: webircgateway
restart: unless-stopped
volumes:
- ${VOLUMES_FOLDER}/irc/webircgateway/config.conf:/app/config.conf:ro
expose:
- 80
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
kiwiirc:
build:
context: kiwiirc/
container_name: kiwiirc
restart: unless-stopped
volumes:
- ${VOLUMES_FOLDER}/irc/kiwiirc/config.json:/usr/share/nginx/html/static/config.json:ro
- ${VOLUMES_FOLDER}/irc/kiwiirc/background.svg:/usr/share/nginx/html/static/img/background.svg:ro
- ${VOLUMES_FOLDER}/irc/kiwiirc/favicon.png:/usr/share/nginx/html/static/favicon.png:ro
- ${VOLUMES_FOLDER}/irc/kiwiirc/erac-logo.svg:/usr/share/nginx/html/static/img/erac-logo.svg:ro
expose:
- 80
environment:
- TZ=${TZ}
znc-log-viewer-php:
container_name: znc-log-viewer-php
image: httpd:alpine
restart: unless-stopped
volumes:
- ${VOLUMES_FOLDER}/irc/znc/config/moddata/log:/usr/local/apache2/htdocs/logs:ro
expose:
- "80"
environment:
- TZ=${TZ}
networks:
default:
external:
name: ${NETWORK}