.
This commit is contained in:
parent
76bb6d76a6
commit
e7a4cad096
35
docker-compose/XEN-ORCHESTRA/synology-xenorchestra.yml
Normal file
35
docker-compose/XEN-ORCHESTRA/synology-xenorchestra.yml
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user