Dockerfile
links
Supported tags and respective 2.22-fpm
,fpm
(fpm/2.22/Dockerfile)2.22
,latest
,apache
(apache/2.22/Dockerfile)2.21.3-fpm
(fpm/2.21.3/Dockerfile)2.21.3
(apache/2.21.3/Dockerfile)2.21.2-fpm
(fpm/2.21.2/Dockerfile)2.21.2
(apache/2.21.2/Dockerfile)2.21.1-fpm
(fpm/2.21.1/Dockerfile)2.21.1
(apache/2.21.1/Dockerfile)2.20.1-fpm
(fpm/2.20.1/Dockerfile)2.20.1
(apache/2.20.1/Dockerfile)2.20-fpm
(fpm/2.20/Dockerfile)2.20
(apache/2.20/Dockerfile)2.19-fpm
(fpm/2.19/Dockerfile)2.19
(apache/2.19/Dockerfile)2.18.1-fpm
(fpm/2.18.1/Dockerfile)2.18.1
(apache/2.18.1/Dockerfile)2.18-fpm
(fpm/2.18/Dockerfile)2.18
(apache/2.18/Dockerfile)2.16.9-fpm
(fpm/2.16.9/Dockerfile)2.16.9
(apache/2.16.9/Dockerfile)2.15.3-fpm
(fpm/2.15.3/Dockerfile)2.15.3
(apache/2.15.3/Dockerfile)2.14.3-fpm
(fpm/2.14.3/Dockerfile)2.14.3
(apache/2.14.3/Dockerfile)
What is Dotclear?
Dotclear is an open source blog publishing application distributed under the GNU GPLv2.
It's proposed aim is to develop a software that fully respects web standards based on open source solutions, with multilingual interface and publishing capabilities. It is written in PHP.
How to use this image
docker run --name blog --link db_container:db -p 80:80 -d darknao/dotclear
You will need a database container using mysql or postgresql, with an already created database/user.
Dotclear data are stored in a volume on /var/www/html.
On the first run, you'll get a configuration wizard to set your database settings and create your config.php.
FPM variant
You can use this configuration file with nginx, for example.
Start the fpm container:
docker run --link mysqldb -d --name blog_fpm darknao/dotclear:fpm
Start nginx with a link to the fpm container (notice the fpm alias, it'll be used in the fpm.conf):
docker run -d -p 80:80 \
--link blog_fpm:fpm \
--name blog_nginx \
-v $(pwd)/fpm.conf:/etc/nginx/conf.d/default.conf:ro \
--volumes-from blog_fpm nginx
Dotclear upgrade
Upgrade should happen automagically if you run an up to date image on an existing volume:
docker run --volumes-from old_blog --link database -p 80:80 -d darknao/dotclear:latest