[skip ci] readme
This commit is contained in:
parent
2a6ac2ea08
commit
7798dd35fd
|
@ -150,6 +150,10 @@ Installation is simple using Docker:
|
||||||
docker run -d -p 80:80 -p 443:443 --privileged --name cosmos-server -h cosmos-server --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /:/mnt/host -v /var/lib/cosmos:/config azukaar/cosmos-server:latest
|
docker run -d -p 80:80 -p 443:443 --privileged --name cosmos-server -h cosmos-server --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /:/mnt/host -v /var/lib/cosmos:/config azukaar/cosmos-server:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
in this command, `-v /:/mnt/host` is optional and allow to manage folders from Cosmos, you can remove it if you don't want it but you will have to create your container's bind folders manually.
|
||||||
|
|
||||||
|
`--privileged` is also optional, but it is required if you use hardening software like AppArmor or SELinux, as they restrict access to the docker socket.
|
||||||
|
|
||||||
Once installed, simply go to `http://your-server-ip` and follow the instructions of the setup wizard.
|
Once installed, simply go to `http://your-server-ip` and follow the instructions of the setup wizard.
|
||||||
|
|
||||||
make sure you expose the right ports (by default 80 / 443). It is best to keep those ports intacts, as Cosmos is meant to run as your reverse proxy. Trying to setup Cosmos behind another reverse proxy is possible but will only create headaches.
|
make sure you expose the right ports (by default 80 / 443). It is best to keep those ports intacts, as Cosmos is meant to run as your reverse proxy. Trying to setup Cosmos behind another reverse proxy is possible but will only create headaches.
|
||||||
|
|
Loading…
Reference in a new issue