chore(docker): 更新.gitignore
This commit is contained in:
8
docker/mysql_db_data/.gitignore
vendored
8
docker/mysql_db_data/.gitignore
vendored
@@ -1,6 +1,8 @@
|
|||||||
# 忽略目录中所有内容
|
# 忽略目录下所有文件和子目录
|
||||||
**/*.*
|
*
|
||||||
|
# 忽略所有子目录
|
||||||
|
*/
|
||||||
# 但不忽略 .gitkeep 文件
|
# 但不忽略 .gitkeep 文件
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
|
# 不忽略 .gitignore 文件自身
|
||||||
!.gitignore
|
!.gitignore
|
||||||
@@ -27,6 +27,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
libjpeg62-turbo-dev \
|
libjpeg62-turbo-dev \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
|
iputils-ping \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# 安装 PHP 扩展
|
# 安装 PHP 扩展
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# 检查并创建必要的目录
|
# 检查并创建必要的目录
|
||||||
for dir in "/var/www/html/runtime" "/var/www/html/uploads" "/var/www/html/tmp" "/var/www/html/temp"; do
|
for dir in "/var/www/html/runtime" "/var/www/html/uploads"; do
|
||||||
if [ ! -d "$dir" ]; then
|
if [ ! -d "$dir" ]; then
|
||||||
mkdir -p "$dir"
|
mkdir -p "$dir"
|
||||||
echo "创建目录: $dir"
|
echo "创建目录: $dir"
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ pidfile=/var/run/supervisord.pid
|
|||||||
|
|
||||||
[program:php-fpm]
|
[program:php-fpm]
|
||||||
command=php-fpm
|
command=php-fpm
|
||||||
directory=/var/www/html
|
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startretries=3
|
startretries=3
|
||||||
@@ -22,19 +21,18 @@ stderr_logfile=/var/log/supervisor/php-fpm-error.log
|
|||||||
stderr_logfile_maxbytes=10MB
|
stderr_logfile_maxbytes=10MB
|
||||||
stderr_logfile_backups=10
|
stderr_logfile_backups=10
|
||||||
|
|
||||||
# [program:think-cron]
|
[program:think-cron]
|
||||||
# command=php /var/www/html/think cron:schedule
|
command=php /var/www/html/think cron:schedule
|
||||||
# process_name=%(program_name)s_%(process_num)02d
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
# numprocs=1
|
numprocs=1
|
||||||
# directory=/var/www/html
|
autostart=true
|
||||||
# autostart=true
|
autorestart=true
|
||||||
# autorestart=true
|
startretries=3
|
||||||
# startretries=3
|
stdout_logfile=/var/log/supervisor/think-cron.log
|
||||||
# stdout_logfile=/var/log/supervisor/think-cron.log
|
stdout_logfile_maxbytes=10MB
|
||||||
# stdout_logfile_maxbytes=10MB
|
stdout_logfile_backups=10
|
||||||
# stdout_logfile_backups=10
|
stderr_logfile=/var/log/supervisor/think-cron-error.log
|
||||||
# stderr_logfile=/var/log/supervisor/think-cron-error.log
|
stderr_logfile_maxbytes=10MB
|
||||||
# stderr_logfile_maxbytes=10MB
|
stderr_logfile_backups=10
|
||||||
# stderr_logfile_backups=10
|
startsecs=3
|
||||||
# startsecs=3
|
stopwaitsecs=10
|
||||||
# stopwaitsecs=10
|
|
||||||
8
docker/redis_data/.gitignore
vendored
8
docker/redis_data/.gitignore
vendored
@@ -1,6 +1,8 @@
|
|||||||
# 忽略目录中所有内容
|
# 忽略目录下所有文件和子目录
|
||||||
**/*.*
|
*
|
||||||
|
# 忽略所有子目录
|
||||||
|
*/
|
||||||
# 但不忽略 .gitkeep 文件
|
# 但不忽略 .gitkeep 文件
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
|
# 不忽略 .gitignore 文件自身
|
||||||
!.gitignore
|
!.gitignore
|
||||||
8
docker/xdebug_logs/.gitignore
vendored
8
docker/xdebug_logs/.gitignore
vendored
@@ -1,6 +1,8 @@
|
|||||||
# 忽略目录中所有内容
|
# 忽略目录下所有文件和子目录
|
||||||
**/*.*
|
*
|
||||||
|
# 忽略所有子目录
|
||||||
|
*/
|
||||||
# 但不忽略 .gitkeep 文件
|
# 但不忽略 .gitkeep 文件
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
|
# 不忽略 .gitignore 文件自身
|
||||||
!.gitignore
|
!.gitignore
|
||||||
Reference in New Issue
Block a user