更新 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 \
|
||||
-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
|
||||
|
Loading…
x
Reference in New Issue
Block a user