updated docs

This commit is contained in:
Paolo Asperti 2023-12-02 22:57:35 +01:00
parent 6031f5f515
commit 1dd5c6f06d
Signed by untrusted user: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -49,3 +49,26 @@ docker run -d -p 6080:80 libreschool-website
With the above command, the website will be reachable via HTTP to port 6080.
It's also possible do bind mount the container's `/logs` directory, to expose nginx logs.
## Using the container image
### Plain docker invocation
```sh
docker run -d -p 6080:80 git.libreschool.org/libreschool/libreschool.org:latest
```
### Via docker compose
```yaml
version: "3.9"
services:
web:
image: git.libreschool.org/libreschool/libreschool.org:latest
restart: always
container_name: libreschool_website
volumes:
- ./logs:/logs
ports:
- 6080:80
```