Skip to content

Commit

Permalink
LVM and README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezka77 committed Jan 26, 2024
1 parent a192625 commit 2cfbb57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ See https://xen-orchestra.com for information on Xen Orchestra

### With Docker-Compose

The most simple way is to use docker-compose. Redis is not in this docker, so we
The most simple way is to use `docker compose`. Redis is not in this docker, so we
need to connect XOA-CE to a Redis database, the docker-compose file in the github
repos will take care of this and assure persistance.

```
git clone https://github.com/Ezka77/xen-orchestra-ce.git
docker-compose up
docker compose up
```

or just use the docker compose file ([direct link](https://raw.githubusercontent.com/Ezka77/xen-orchestra-ce/master/docker-compose.yml)):
```
curl -o docker-compose.yml https://raw.githubusercontent.com/Ezka77/xen-orchestra-ce/master/docker-compose.yml
docker-compose up
docker compose up
```

Xen Orchestra should be available on: http://localhost:8000
Expand Down
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ services:
# SYS_ADMIN should be enough capability to use NFS mount
cap_add:
- SYS_ADMIN
# LVM
devices:
- "/dev/fuse:/dev/fuse"
- "/dev/loop-control:/dev/loop-control"
# - "/dev/loop0:/dev/loop0"
volumes:
- xo-data:/storage
logging: &default_logging
Expand Down

0 comments on commit 2cfbb57

Please sign in to comment.