Feat: add TLS termination via bitlbee

Fixes #6
This commit is contained in:
Michele Bologna
2020-04-18 12:59:20 +02:00
parent c9bd1b6cad
commit f11fce3f4a
2 changed files with 64 additions and 23 deletions

View File

@@ -1,17 +1,35 @@
version: "2.0"
services:
app:
bitlbee:
build: .
image: mbologna/docker-bitlbee
container_name: bitlbee
restart: always
ports:
- "16667:6667"
network_mode: bridge
networks:
- bitlbee
volumes:
- ./etc/bitlbee:/usr/local/etc/bitlbee
- bitlbee_data:/var/lib/bitlbee
stunnel:
image: dweomer/stunnel
container_name: bitlbee-stunnel
restart: always
networks:
- bitlbee
ports:
- "16697:6697"
environment:
- STUNNEL_SERVICE=bitlbee-stunnel
- STUNNEL_ACCEPT=6697
- STUNNEL_CONNECT=bitlbee:6667
depends_on:
- bitlbee
volumes:
bitlbee_data:
networks:
bitlbee: