Public Repository

Last pushed: 10 months ago
Short Description
Xen Orchestra
Full Description

Xen Orchestra Docker Container

stable 5.x branch of Xen Orchestra

Image Installation

From Docker Hub:

docker pull brijohn/xen-orchestra

From Source:

git clone https://github.com/brijohn/docker-xen-orchestra.git
cd docker-xen-orchestra
docker build -t "xen-orchestra:latest" --rm --no-cache .

Running the Container

Create a set of volumes used to store the XO databases.

docker volume create --name xo-redis
docker volume create --name xo-server

Next launch the container using the previously created volumes.

docker run -d -p 8000:8000  -v xo-redis:/var/lib/redis \
-v xo-server:/var/lib/xo-server \
--name xen-orchestra brijohn/xen-orchestra

Log Files

Use docker's logging functionality to print out the xo-server log file.

docker logs xen-orchestra

Adding SSL support

If SSL support is needed, you will need to rebuild the container after modifying the xo-server.yaml
file by adding lines specifying the certificate and key file.

Example SSL yaml file

user: 'app'
http:
  listen:
    -
      host: '0.0.0.0'
      port: 8000
      cert: <path/to/cert/file>
      key:  <path/to/key/file>
  mounts:
    '/': '/app/xo-web/dist/'
redis:
    uri: 'tcp://localhost:6379'

For a full list of SSL/TLS options see: NodeJS:tls.createServer

Author

Brian Johnson - Github - brijohn@gmail.com

Distributed under the GPL 3 license. See LICENSE for more information.

Docker Pull Command
Owner
brijohn

Comments (0)