I want to make a dolphin image for the docker to install dolphin on cloud like google cloud, alibaba cloud etc, is there someone who can help me? For example, this is the official image of the trident, but most of us are intimated by the dolphin pro
MAINTAINER dev@boonex.com |
# PHP extensions and necessary packages |
RUN apt-get update && apt-get install -y \ |
&& docker-php-ext-install -j$(nproc) exif \ |
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ |
&& docker-php-ext-install -j$(nproc) gd \ |
&& docker-php-ext-install -j$(nproc) iconv \ |
&& docker-php-ext-install -j$(nproc) mbstring \ |
&& docker-php-ext-install -j$(nproc) mcrypt \ |
&& docker-php-ext-install -j$(nproc) mysql \ |
&& docker-php-ext-install -j$(nproc) opcache \ |
&& docker-php-ext-install -j$(nproc) pdo \ |
&& docker-php-ext-install -j$(nproc) pdo_mysql \ |
&& docker-php-ext-install -j$(nproc) zip \ |
&& rm -rf /var/lib/apt/lists/* |
RUN groupadd -r --gid 2483 trident \ |
&& useradd -r --uid 2483 -g trident trident |
RUN chown trident:trident /var/www/html /var/www |
ENV TRIDENT_VERSION 8.0.1 |
&& unzip -o trident.zip \ |
&& mv Trident-v.${TRIDENT_VERSION}/* . \ |
&& mv Trident-v.${TRIDENT_VERSION}/.htaccess . \ |
&& rm -rf "Trident-v.${TRIDENT_VERSION}"
|
RUN chmod 777 inc cache cache_public logs tmp storage \ |
&& chmod +x plugins/ffmpeg/ffmpeg.exe |
RUN echo "memory_limit=192M \n\
|
upload_max_filesize=100M \n\ |
error_log=/var/www/php_error.log \n\ |
error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT \n\ |
sendmail_path=/usr/sbin/sendmail -t -i \n\ |
date.timezone=UTC" > /var/www/php.ini && chown trident:trident /var/www/php.ini |
RUN touch /var/www/php_error.log \ |
&& chown trident:trident /var/www/php_error.log \ |
&& chmod 666 /var/www/php_error.log |
RUN echo "<VirtualHost *:80> \n\
|
DocumentRoot /var/www/html \n\ |
ErrorLog /var/www/error.log \n\ |
CustomLog /var/www/access.log combined \n\ |
</VirtualHost>" > /etc/apache2/sites-enabled/trident.conf |
RUN a2enmod rewrite expires |
RUN echo "* * * * * php -c /var/www /var/www/html/periodic/cron.php" > /var/www/crontab |
RUN chown trident:trident /var/www/crontab \ |
&& crontab -u trident /var/www/crontab |
EXPOSE80
brunno |
Docker file for Dolphin would be very similar to this one, you need to change package names, different directories needs to be writable, etc
Rules → http://www.boonex.com/terms |
Yes it is true, but a variant with nginx php-fp would be much more interesting, would ease the work of everyone brunno |
https://console.cloud.google.com/launcher/browse?filter=category:blog-cms
https://www.alibabacloud.com/marketplace/category/All_Products-56718001.htm?spm=a3c0i.7848310.756632.11.72c02dd74R6AZm
For example, google cloud or other major platforms have images of many cms ready to run for free with all the preconfigured settings. The beginner user experience would be much simpler and more attractive to use Dolphin.
I think it would be very useful if Boonex would provide an Docker image for runing in container , some stack, or puppet. Also juju provide Charms for deploy instantly varios software.
Al cms can be run in major platform on the web with different installation options, operating system, linux, windows, web server: apache, nginx platform , db: mysql, maria, etc.
Why not simplify for dolphin? Thousands of users' hours of work are thrown away for simple operations. when the website administrator already has a lot of things to do once the site has been installed to monetize.
brunno |
Thank you for pointing this out, we'll consider making Dolphin and UNA run on these platforms.
https://github.com/boonex/dolphin.pro/issues/616
Rules → http://www.boonex.com/terms |