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

77 lines
1.9 KiB

4 years ago
version: "3"
4 years ago
services:
znc:
build:
context: znc/
container_name: ${ZNC_CONTAINER_NAME:-znc}
restart: ${ZNC_RESTART:-unless-stopped}
networks:
- default
- znc-internet
4 years ago
volumes:
- ${LOCAL_STACK_DIR}/znc/config:/config
- ${LOCAL_STACK_DIR}/znc/etc/proxychains/proxychains.conf:/etc/proxychains/proxychains.conf
expose:
- 80
4 years ago
ports:
- 6501:6501
env_file:
- znc.env
4 years ago
environment:
- TZ=${TZ}
reverseproxy:
build:
context: reverseproxy/
container_name: ${RP_CONTAINER_NAME:-reverseproxy-irc}
restart: ${RP_RESTART:-unless-stopped}
networks:
- default
- main-webservices
4 years ago
volumes:
- ${LOCAL_STACK_DIR}/nginx/data/conf.d:/etc/nginx/conf.d
4 years ago
expose:
- 80
env_file:
- reverseproxy.env
4 years ago
environment:
- TZ=${TZ}
webircgateway:
build:
context: webircgateway/
container_name: ${WI_CONTAINER_NAME:-webircgateway}
restart: ${WI_RESTART:-unless-stopped}
4 years ago
volumes:
- ${LOCAL_STACK_DIR}/webircgateway/config.conf:/app/config.conf:ro
4 years ago
expose:
- 80
env_file:
- webircgateway.env
4 years ago
environment:
- TZ=${TZ}
kiwiirc:
build:
context: kiwiirc/
container_name: ${KI_CONTAINER_NAME:-kiwiirc}
restart: ${KI_RESTART:-unless-stopped}
4 years ago
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
4 years ago
expose:
- 80
environment:
- TZ=${TZ}
networks:
default:
internal: true
znc-internet:
main-webservices:
external:
name: ${NETWORK}