Skip to content

Docker container for Xen Orchestra using the lastest monorepo

License

Notifications You must be signed in to change notification settings

jrab66/docker-xen-orchestra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xen Orchestra Docker Container

working version using the actual monorepo.

stable 5.x branch of Xen Orchestra

Image Installation

From Docker Hub:

docker pull jrab66/xenorchestra

From Source:

git clone https://github.com/jrab66/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

José Barahona Github - jrab6692@gmail.com

Brian Johnson - Github - brijohn@gmail.com

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

About

Docker container for Xen Orchestra using the lastest monorepo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%