This commit is contained in:
Jarosław Karcewicz 2022-03-27 00:15:03 +01:00
parent 76bb6d76a6
commit e7a4cad096

View File

@ -0,0 +1,35 @@
version: '3'
services:
orchestra:
restart: unless-stopped
image: ezka77/xen-orchestra-ce:latest
container_name: XO_server
ports:
- "8800:8000"
depends_on:
- redis
environment:
- DEBUG=xo:main
- NODE_ENV=production
- XOA_PLAN=5
#privileged: true
# SYS_ADMIN should be enough capability to use NFS mount
cap_add:
- SYS_ADMIN
volumes:
- /volume1/docker/xenorchestra/data:/storage
logging: &default_logging
driver: "json-file"
options:
max-size: "1M"
max-file: "2"
redis:
restart: unless-stopped
container_name: XO_redis
image: redis:alpine
command: redis-server --appendonly yes
volumes:
- /volume1/docker/xenorchestra/redis:/data
logging:
<<: *default_logging