add simple docker exemple and add some platforms

This commit is contained in:
Jean-Christian Denis 2024-12-25 18:46:16 +01:00
parent 5df62582be
commit 6440803124
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -11,11 +11,16 @@
## 1. THE SHORT WAY
In your futur server, with Docker compose installed, execute:
In your futur server, with Docker installed, execute:
docker run -d --name dotclear -p 80:80 -v dotclear:/var/www/dotclear
or with Docker compose installed, execute:
curl -fsSL -o docker-compose.yaml https://raw.githubusercontent.com/JcDenis/docker-dotclear/refs/heads/master/docker-compose.yaml && docker-compose up -d
## 2. WHAT IS DOTCLEAR
Dotclear is an open-source web publishing software.
@ -69,13 +74,12 @@ Or to build image from unstable canal, from the Dokerfile path, execute:
Builds should support:
* postgresql and mysql and sqlite database
* linux/386,linux/amd64,linux/arm64,linux/arm/V7 plateforms
* linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x (and more) plateforms
* docker container healthcheck
### 3.3 DOCKER
#### 3.3.1 Exemple of a docker compose file with a mariadb database
Create and edit a **docker-compose.yaml** file and put into it this contents :