-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
55 lines (52 loc) · 1.03 KB
/
compose.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '3'
services:
xenorchestra:
restart: unless-stopped
image: ghcr.io/soubinan/xoa-container:latest
ports:
- 8088:80
depends_on:
- redis
cap_add:
- SYS_ADMIN
- DAC_READ_SEARCH
security_opt:
- apparmor:unconfined
volumes:
- ./example.config.toml:/etc/xo-server/config.toml:Z
- xo-data:/var/lib/xo-server/data:Z
- xo-backup:/var/lib/xoa-backup:Z
logging: &default_logging
driver: "json-file"
options:
max-size: "1M"
max-file: "10"
networks:
- frontnet
- redisnet
redis:
restart: unless-stopped
image: docker.io/library/redis:latest
command: redis-server --appendonly yes
ports:
- 6379:6379
expose:
- 6379
volumes:
- xo-redis:/data:Z
logging:
<<: *default_logging
networks:
- redisnet
volumes:
xo-data:
driver: local
xo-backup:
driver: local
xo-redis:
driver: local
networks:
frontnet:
external: true
redisnet:
external: true