更新 README.md

This commit is contained in:
Chenx221 2024-05-24 14:35:12 +00:00
parent e9f09faad1
commit 0dad834273

View File

@ -117,9 +117,11 @@ docker run -d --name mariadb-container \
-v /home/chenx221/db.sql:/docker-entrypoint-initdb.d/db.sql \
-e MYSQL_ROOT_PASSWORD=chenx221 \
--network=my-network \
--restart always \
mariadb:latest
docker run -d --name redis-container \
--network=my-network \
--restart always \
redis
docker run -d -p 80:80 -p 443:443 \
-v /home/chenx221/fullchain1.pem:/etc/ssl/fullchain1.pem \
@ -127,6 +129,7 @@ docker run -d -p 80:80 -p 443:443 \
-v /home/chenx221/data:/var/www/html/data \
-v /home/chenx221/.env:/var/www/html/.env \
--network=my-network \
--restart always \
chenx221-yii2-netdisk
```
.env