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
1.9 KiB

version: "3"
services:
znc:
build:
context: znc/
container_name: ${ZNC_CONTAINER_NAME:-znc}
restart: ${ZNC_RESTART:-unless-stopped}
networks:
- default
- znc-internet
volumes:
- ${LOCAL_STACK_DIR}/znc/config:/config
- ${LOCAL_STACK_DIR}/znc/etc/proxychains/proxychains.conf:/etc/proxychains/proxychains.conf
expose:
- 80
ports:
- 6501:6501
env_file:
- znc.env
environment:
- TZ=${TZ}
reverseproxy:
build:
context: reverseproxy/
container_name: ${RP_CONTAINER_NAME:-reverseproxy-irc}
restart: ${RP_RESTART:-unless-stopped}
networks:
- default
- main-webservices
volumes:
- ${LOCAL_STACK_DIR}/nginx/data/conf.d:/etc/nginx/conf.d
expose:
- 80
env_file:
- reverseproxy.env
environment:
- TZ=${TZ}
webircgateway:
build:
context: webircgateway/
container_name: ${WI_CONTAINER_NAME:-webircgateway}
restart: ${WI_RESTART:-unless-stopped}
volumes:
- ${LOCAL_STACK_DIR}/webircgateway/config.conf:/app/config.conf:ro
expose:
- 80
env_file:
- webircgateway.env
environment:
- TZ=${TZ}
kiwiirc:
build:
context: kiwiirc/
container_name: ${KI_CONTAINER_NAME:-kiwiirc}
restart: ${KI_RESTART:-unless-stopped}
volumes:
- ${LOCAL_STACK_DIR}/kiwiirc/config.json:/usr/share/nginx/html/static/config.json:ro
- ${LOCAL_STACK_DIR}/kiwiirc/background.svg:/usr/share/nginx/html/static/img/background.svg:ro
- ${LOCAL_STACK_DIR}/kiwiirc/favicon.png:/usr/share/nginx/html/static/favicon.png:ro
- ${LOCAL_STACK_DIR}/kiwiirc/logo.svg:/usr/share/nginx/html/static/img/logo.svg:ro
expose:
- 80
environment:
- TZ=${TZ}
networks:
default:
internal: true
name: ${IRC_NETWORK}
znc-internet:
name: ${ZNC_INTERNET}
main-webservices:
external:
name: ${NETWORK}