Author SHA1 Message Date
Roni Väyrynen 0be1b1f87e Merge pull request #66 from ronivay/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 4 to 6
2025-12-18 09:54:00 +02:00
Roni Väyrynen 4baa03af98 Merge pull request #64 from ronivay/dependabot/github_actions/peter-evans/dockerhub-description-5
Bump peter-evans/dockerhub-description from 4 to 5
2025-12-18 09:53:37 +02:00
Roni Väyrynen a34955c023 Merge pull request #63 from MajorP93/master
Update examples to include docker volume / mount for VDDK Lib
2025-12-18 09:53:22 +02:00
Roni Väyrynen b30c665286 Merge pull request #67 from MajorP93/node24
Bump node js from 22 to 24
2025-11-26 13:34:50 +02:00
MajorP93 102c2f2604 Bump node js from 22 to 24
* Xen Orchestra documentation recommends to use latest LTS release of node js
* node js 24 has become the new LTS
* Some uers of Xen Orchestra reported in the forums that node js 24 is working with this software
2025-11-24 13:21:36 +01:00
dependabot[bot] a96c167554 Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 09:32:08 +00:00
dependabot[bot] b0072dcd28 Bump peter-evans/dockerhub-description from 4 to 5
Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) from 4 to 5.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](https://github.com/peter-evans/dockerhub-description/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 09:14:00 +00:00
MajorP93 abca055a1e Update examples to include docker volume / mount for VDDK Lib
* Otherwise VDDK Lib needs to be re-installed via Xen Orchestra every time docker image gets updated / re-deployed
2025-09-16 12:21:33 +02:00
Roni Väyrynen a12870ff77 Merge pull request #59 from MajorP93/master
Switch to trixie base image variant, build nbdkit and libnbd, install required dependencies for V2V VDDK
2025-09-04 12:40:50 +03:00
MajorP93 eb48abe681 Use node 22 trixie image variant, build nbdkit and libnbd, install required dependencies for V2V VDDK feature 2025-08-28 13:47:26 +02:00
Roni Väyrynen 3cf63e4871 Merge pull request #56 from MajorP93/master
feat: Bump node to 22 and use bookworm image variants
2025-08-19 14:08:22 +03:00
MajorP93 4905f14e64 feat: Bump node to 22 and use bookworm image variants 2025-08-08 17:40:02 +02:00
Roni Väyrynen eaf9927902 Merge pull request #55 from ronivay/fix/disable-v6-build
fix: disable v6 webUI build
2025-06-26 11:30:58 +03:00
5 changed files with 49 additions and 10 deletions

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Set up QEMU-action
uses: docker/setup-qemu-action@v3
+2 -2
View File
@@ -13,10 +13,10 @@ jobs:
dockerhubdescription:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Update Docker Hub description
uses: peter-evans/dockerhub-description@v4
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
+41 -6
View File
@@ -1,5 +1,5 @@
# builder container
FROM node:20-bullseye as build
# Xen Orchestra builder container
FROM node:24-trixie as xo-build
# Install set of dependencies to support building Xen Orchestra
RUN apt update && \
@@ -20,20 +20,55 @@ RUN yarn config set network-timeout 200000 && yarn && yarn build
# Install plugins
RUN find /etc/xen-orchestra/packages/ -maxdepth 1 -mindepth 1 -not -name "xo-server" -not -name "xo-web" -not -name "xo-server-cloud" -not -name "xo-server-test" -not -name "xo-server-test-plugin" -exec ln -s {} /etc/xen-orchestra/packages/xo-server/node_modules \;
# libnbd / nbdkit builder container
FROM debian:trixie as nbd-build
# Install set of dependencies for building libnbd and nbdkit
RUN apt update && \
apt install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin
ARG LIBNBD_REPO=https://gitlab.com/nbdkit/libnbd.git
ARG LIBNBD_VERSION=v1.23.4
ARG NBDKIT_REPO=https://gitlab.com/nbdkit/nbdkit.git
ARG NBDKIT_VERSION=v1.44.3
# Fetch libnbd and nbdkit sources at their required tags
RUN git clone --depth 1 --branch "${LIBNBD_VERSION}" "${LIBNBD_REPO}" /tmp/libnbd && \
git clone --depth 1 --branch "${NBDKIT_VERSION}" "${NBDKIT_REPO}" /tmp/nbdkit
# Build libnbd
WORKDIR /tmp/libnbd
RUN autoreconf -i && \
./configure --prefix=/usr/local && \
make -j"$(nproc)" && \
make install DESTDIR=/opt/stage/libnbd
# Build nbdkit
WORKDIR /tmp/nbdkit
RUN autoreconf -i && \
./configure --prefix=/usr/local && \
make -j"$(nproc)" && \
make install DESTDIR=/opt/stage/nbdkit
# Runner container
FROM node:20-bullseye-slim
FROM node:24-trixie-slim
LABEL org.opencontainers.image.authors="Roni Väyrynen <roni@vayrynen.info>"
# Install set of dependencies for running Xen Orchestra
RUN apt update && \
apt install -y redis-server libvhdi-utils python3-minimal python3-jinja2 lvm2 nfs-common netbase cifs-utils ca-certificates monit procps curl ntfs-3g
apt install -y redis-server libvhdi-utils libxml2 python3-minimal python3-jinja2 lvm2 libfuse2t64 nfs-common netbase cifs-utils ca-certificates monit procps curl ntfs-3g
# Install forever for starting/stopping Xen-Orchestra
RUN npm install forever -g
# Copy built xen orchestra from builder
COPY --from=build /etc/xen-orchestra /etc/xen-orchestra
# Copy built xen orchestra from xo-build container
COPY --from=xo-build /etc/xen-orchestra /etc/xen-orchestra
# Copy built libnbd, nbdkit from nbd-build container and update links using ldconfig
COPY --from=nbd-build /opt/stage/libnbd/usr/local /usr/local
COPY --from=nbd-build /opt/stage/nbdkit/usr/local /usr/local
RUN ldconfig
# Logging
RUN ln -sf /proc/1/fd/1 /var/log/redis/redis-server.log && \
+3 -1
View File
@@ -44,7 +44,7 @@ Xen-Orchestra is now accessible at http://your-ip-address. Default credentials a
- Other than testing, suggested method is to mount data paths from your host to preserve data
```
docker run -itd -p 80:80 -v /path/to/data/xo-server:/var/lib/xo-server -v /path/to/data/redis:/var/lib/redis ronivay/xen-orchestra
docker run -itd -p 80:80 -v /path/to/data/xo-server:/var/lib/xo-server -v /path/to/data/redis:/var/lib/redis -v /path/to/data/vddk-lib:/usr/local/lib/vddk ronivay/xen-orchestra
```
I also suggest adding --stop-timeout since there are multiple services inside single container and we want them to shutdown gracefully when container is stopped.
@@ -110,6 +110,7 @@ services:
volumes:
- xo-data:/var/lib/xo-server
- redis-data:/var/lib/redis
- vddk-lib:/usr/local/lib/vddk
# mount certificate files to container if HTTPS is set with cert/key paths
#- /path/to/cert.pem:/cert.pem
#- /path/to/cert.key:/cert.key
@@ -131,6 +132,7 @@ services:
volumes:
xo-data:
redis-data:
vddk-lib:
```
#### Variables
+2
View File
@@ -27,6 +27,7 @@ services:
volumes:
- xo-data:/var/lib/xo-server
- redis-data:/var/lib/redis
- vddk-lib:/usr/local/lib/vddk
# to preserve xo-server config on host dir after generated by container
#- /path/to/config:/etc/xo-server
# mount certificate files to container if HTTPS is set with cert/key paths
@@ -50,3 +51,4 @@ services:
volumes:
xo-data:
redis-data:
vddk-lib: