diff --git a/README.md b/README.md index 9f5b421..c53d5d8 100644 --- a/README.md +++ b/README.md @@ -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 +```