Docs: include docker-compose instructions

This commit is contained in:
Michele Bologna
2018-08-24 10:14:09 +02:00
parent 7a2395b5ec
commit 569e96fdb3

View File

@@ -15,17 +15,25 @@ This repository contains **Dockerfile** of [*bitlbee*](https://github.com/bitlbe
## Usage ## Usage
### (optional and only for those who build the image) configure bitlbee 1. (optional and only for those who build the image) configure bitlbee
customize etc/bitlbee/bitlbee.conf to suit your needs customize etc/bitlbee/bitlbee.conf to suit your needs
### run bitlbee 2. run bitlbee via:
`docker run -d --name bitlbee -p 16667:6667 --restart=always mbologna/docker-bitlbee` a. [Docker Compose](https://docs.docker.com/compose/install/):
### run bitlbee with persistent config file (`username.xml`) `docker-compose up`
`docker run -d --name bitlbee -p 16667:6667 --restart=always -v <data-dir>:/var/lib/bitlbee mbologna/docker-bitlbee` b. or via Docker:
- without persistent configuration:
`docker run -d --name bitlbee -p 16667:6667 --restart=always mbologna/docker-bitlbee`
- with persistent configuration store in volume:
`docker run -d --name bitlbee -p 16667:6667 --restart=always -v <data-dir>:/var/lib/bitlbee mbologna/docker-bitlbee`
## Contributing ## Contributing