双击该变量进行安装,容器名称随意填充,内存限制根据实际需要填充,单击高级设置,启用自动重新启动打钩,卷设置里面点击添加文件夹,选择你刚刚在docker目录下创建的chevereto目录,后面加载路径填充【/ var / www / html / images】,不能有空间,请注意,然后在到端口设置,本地端口设置为10000,容器端口不需要修改,后面进行docker的环境配置,
root@DSM3617:/volume1/docker# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES bc9701c6850c nmtan/chevereto:latest "docker-php-entrypoi…"6 hours ago Up 29 minutes 0.0.0.0:10000->80/tcp nmtan-chevereto1 a906997c2ff6 synology/gitlab:11.11.8"/sbin/entrypoint.sh…"3 weeks ago Up 5 hours 443/tcp, 0.0.0.0:30001->22/tcp, 0.0.0.0:30000->80/tcp synology_gitlab f6e478504c02 sameersbn/postgresql:10"/sbin/entrypoint.sh"3 weeks ago Up 5 hours 5432/tcp synology_gitlab_postgresql 1c6ced1ca7ad sameersbn/redis:4.0.9-1"/sbin/entrypoint.sh"3 weeks ago Up 5 hours 6379/tcp synology_gitlab_redis
# Disable directory listing (-indexes), Multiviews (-MultiViews) and enable Follow system links (+FollowSymLinks) Options -Indexes Options -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
# If you have problems with the rewrite rules remove the "#" from the following RewriteBase line # You will also have to change the path to reflect the path to your Chevereto installation # If you are using alias is most likely that you will need this. #RewriteBase /
# 404 images # If you want to have your own fancy "image not found" image remove the "#" from RewriteCond and RewriteRule lines # Make sure to apply the correct paths to reflect your current installation RewriteCond %{REQUEST_FILENAME} !-f RewriteRule images/.+\.(gif|jpe?g|png|bmp) - [NC,L,R=404] #RewriteRule images/.+\.(gif|jpe?g|png|bmp) content/images/system/default/404.gif [NC,L]