GitXplorerGitXplorer
b

docker-xen-orchestra

public
6 stars
7 forks
0 issues

Commits

List of commits on branch master.
Unverified
5f2fbaa42357e29c04fc7865265d8707bdfb4dc1

Add latest version 5.44.1 to build hooks

bbrijohn committed 5 years ago
Unverified
619434797962b3d520d227466722a90333fa0ade

use python instead of python-minimal

bbrijohn committed 6 years ago
Unverified
7035f1582914c592ec801f48b46b2e512743ec01

Switch to multistage build system

bbrijohn committed 7 years ago
Unverified
94d2d67ec634b883132937e6ca87be86da67b203

Add docker build hook

bbrijohn committed 6 years ago
Unverified
18c80538ceb403930600cbb51a84fe2a8449f10a

Switch base image to node:carbon-stretch-slim

bbrijohn committed 6 years ago
Verified
768adc8c1011610eefb7510d5049b812ab96df68

Merge pull request #4 from markusdenhoff/various-enhancements

bbrijohn committed 6 years ago

README

The README file for this repository.

Xen Orchestra Docker Container

master 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 .

By default this will be the master branch. If you wish to build a branch other then master you can add --build-arg branch= to the docker build command. For example to build stable run:

docker build -t "xen-orchestra:stable" --build-arg branch=stable --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
docker volume create --name xo-backup

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 \
-v xo-backup:/var/lib/xoa-backup \
--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.