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

83 lines
2.1 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/
args:
- BLD_IMG=${KI_BLD_IMG:-node}
- BLD_TAG=${KI_BLD_TAG:-15-alpine}
- BLD_REPO=${KI_BLD_REPO:-https://github.com/kiwiirc/kiwiirc.git}
- BLD_VER=${KI_BLD_VER:-master}
- FNL_IMG=${KI_FNL_IMG:-nginx}
- FNL_TAG=${KI_FNL_TAG:-stable}
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
znc-internet:
main-webservices:
external:
name: ${NETWORK}