fix typo again
This commit is contained in:
parent
528387ba45
commit
7dd79c384d
@ -21,7 +21,7 @@ RUN echo "max_execution_time = 360" > /usr/local/etc/php/conf.d/custom-php.ini \
|
|||||||
&& echo "post_max_size = 512M" >> /usr/local/etc/php/conf.d/custom-php.ini \
|
&& echo "post_max_size = 512M" >> /usr/local/etc/php/conf.d/custom-php.ini \
|
||||||
&& echo "upload_max_filesize = 512M" >> /usr/local/etc/php/conf.d/custom-php.ini \
|
&& echo "upload_max_filesize = 512M" >> /usr/local/etc/php/conf.d/custom-php.ini \
|
||||||
&& echo "expose_php = Off" >> /usr/local/etc/php/conf.d/custom-php.ini \
|
&& echo "expose_php = Off" >> /usr/local/etc/php/conf.d/custom-php.ini \
|
||||||
&& echo 'date.timezone = "Asia/Shanghai"' >> /usr/local/etc/php/conf.d/custom-php.ink
|
&& echo 'date.timezone = "Asia/Shanghai"' >> /usr/local/etc/php/conf.d/custom-php.ini
|
||||||
|
|
||||||
# 复制 PHP 源代码到容器中
|
# 复制 PHP 源代码到容器中
|
||||||
COPY . /var/www/html/
|
COPY . /var/www/html/
|
||||||
|
@ -113,18 +113,18 @@ Docker自己装
|
|||||||
```bash
|
```bash
|
||||||
sudo docker build -t chenx221-yii2-netdisk .
|
sudo docker build -t chenx221-yii2-netdisk .
|
||||||
|
|
||||||
docker network create my-network
|
sudo docker network create my-network
|
||||||
docker run -d --name mariadb-container \
|
sudo docker run -d --name mariadb-container \
|
||||||
-v /root/db.sql:/docker-entrypoint-initdb.d/db.sql \
|
-v /root/db.sql:/docker-entrypoint-initdb.d/db.sql \
|
||||||
-e MYSQL_ROOT_PASSWORD=chenx221 \
|
-e MYSQL_ROOT_PASSWORD=chenx221 \
|
||||||
--network=my-network \
|
--network=my-network \
|
||||||
--restart always \
|
--restart always \
|
||||||
mariadb:latest
|
mariadb:latest
|
||||||
docker run -d --name redis-container \
|
sudo docker run -d --name redis-container \
|
||||||
--network=my-network \
|
--network=my-network \
|
||||||
--restart always \
|
--restart always \
|
||||||
redis
|
redis
|
||||||
docker run -d -p 9443:443 \
|
sudo docker run -d -p 9443:443 \
|
||||||
-v /root/cert/fullchain1.pem:/etc/ssl/fullchain1.pem \
|
-v /root/cert/fullchain1.pem:/etc/ssl/fullchain1.pem \
|
||||||
-v /root/cert/privkey1.pem:/etc/ssl/privkey1.pem \
|
-v /root/cert/privkey1.pem:/etc/ssl/privkey1.pem \
|
||||||
-v /root/data:/var/www/html/data \
|
-v /root/data:/var/www/html/data \
|
||||||
|
Loading…
Reference in New Issue
Block a user