forked from Ezka77/xen-orchestra-ce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (37 loc) · 949 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3'
services:
orchestra:
restart: unless-stopped
image: ezka77/xen-orchestra-ce:latest
container_name: XO_server
ports:
- "8000: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:
- xo-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:
- redis-data:/data
logging:
<<: *default_logging
volumes:
xo-data:
redis-data: