How to run XenOrchestra locally using docker-compose

Running XenOrchestra locally is useful to access if you have no suitable servers to run XenOrchestry productively.

Here’s a docker-compose file to run XenOrchestra locally:

services:
    xen-orchestra:
        restart: unless-stopped
        image: ronivay/xen-orchestra:latest
        stop_grace_period: 1m
        environment:
            - HTTP_PORT=1780
        ports:ff
            - 1780:1780
        volumes:
          - ./xo-data:/var/lib/xo-server
          - ./redis-data:/var/lib/redis

Just save this to a file named docker-compose.yml and run docker-compose up -d in the same directory.

Now you can access XenOrchestra at http://localhost:1780/ in your browser.

The default login is