更新 README.md
This commit is contained in:
parent
e9f09faad1
commit
0dad834273
@ -117,9 +117,11 @@ docker run -d --name mariadb-container \
|
|||||||
-v /home/chenx221/db.sql:/docker-entrypoint-initdb.d/db.sql \
|
-v /home/chenx221/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 \
|
||||||
mariadb:latest
|
mariadb:latest
|
||||||
docker run -d --name redis-container \
|
docker run -d --name redis-container \
|
||||||
--network=my-network \
|
--network=my-network \
|
||||||
|
--restart always \
|
||||||
redis
|
redis
|
||||||
docker run -d -p 80:80 -p 443:443 \
|
docker run -d -p 80:80 -p 443:443 \
|
||||||
-v /home/chenx221/fullchain1.pem:/etc/ssl/fullchain1.pem \
|
-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/data:/var/www/html/data \
|
||||||
-v /home/chenx221/.env:/var/www/html/.env \
|
-v /home/chenx221/.env:/var/www/html/.env \
|
||||||
--network=my-network \
|
--network=my-network \
|
||||||
|
--restart always \
|
||||||
chenx221-yii2-netdisk
|
chenx221-yii2-netdisk
|
||||||
```
|
```
|
||||||
.env
|
.env
|
||||||
|
Loading…
Reference in New Issue
Block a user