Changeset - 1f8149580be2
[Not reviewed]
0 1 0
vitalyster - 8 years ago 2017-08-09 14:38:03
vitalyster@gmail.com
Update docker.md
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
documentation/installation/docker.md
Show inline comments
 
---
 
layout: page
 
title: Spectrum 2
 
---
 

	
 
## About our Docker image
 

	
 
The Docker image is based on latest stable Fedora. It includes Spectrum 2 and also lot of 3rd-party backends you would have to compile or install yourself when not using Docker image. This includes:
 

	
 
* Facebook (purple-facebook plugin)
 
* Whatsapp (transwhat backend)
 
* IRC (libcommuni backend)
 
* Skype (purple-skypeweb plugin)
 
* libpurple backend
 

	
 
## Install Docker
 

	
 
At first you have to install Docker. This is very well described on the official [Docker Installation page](https://docs.docker.com/v1.8/installation/).
 
At first you have to install Docker. This is very well described on the official [Docker Installation page](https://docs.docker.com/get-started/).
 

	
 
## Pull the Spectrum 2 Docker image
 

	
 
To download Spectrum 2 Docker image to your system, just run following command:
 

	
 
	$ docker pull spectrum2/spectrum
 

	
 
You can also update Spectrum 2 using this command later.
 

	
 
## Create directory for Spectrum 2 configuration files
 

	
 
Now you have to decide where to store the configuration files for Spectrum 2. We will use `/opt/spectrum2/configuration` in our example:
 

	
 
	$ mkdir -p /opt/spectrum2/configuration
 

	
 
## Create configuration file
 

	
 
You can use following default configuration files as a starting place:
 

	
 
* [XMPP Frontend - gateway mode](https://github.com/hanzz/spectrum2/blob/master/spectrum/src/sample2_gateway.cfg)
 

	
 
Download the configuration file you chose into `/opt/spectrum2/configuration` directory you have created earlier and edit it as you want. Check the documentation and tutorials for configuration examples.
 

	
 
Note that the configuration files must have `.cfg` file extension.
0 comments (0 inline, 0 general)