add docker run exemple

This commit is contained in:
Jean-Christian Denis 2024-11-16 16:51:17 +01:00
parent a89c83b62d
commit 226ed3c2a2
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -130,6 +130,10 @@ this may takes a while...
DC_DBNAME: \var\www\dotclear\sqlite.db
DC_ADMINMAILFROM: contact@exemple.com
or with a simple docker command:
docker run -d --name dotclear -p 80:80 -v dotclear:/var/www/dotclear -e DC_DBDRIVER=sqlite -e DC_DBNAME=/var/www/dotclear/sqlite.db -e DC_ADMINMAILFROM=contact@exemple.com jcpd/docker-dotclear:latest
SQLite database will be stored in folder \var\www\dotclear
### BLOG