更新使用方法示例

This commit is contained in:
小王 2024-09-14 10:59:51 +08:00
parent b293d5c4c3
commit ccc23f40e7
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
- -
- docker运行命令 - docker运行命令
```bash ```bash
docker run -d --name php-file-server -p 8000:80 -v /your/path:/var/www/html/public -e NACOS_ADDR=192.168.1.105:8848 -e SERVICE_PORT=8000 -e ORIGIN_URL=file.zeroerr.cn anxan-docker.pkg.coding.net/d/repo/micro-php-nacos:0.0.6 docker run -d --name php-file-server -p 8000:80 -v /your/path:/var/www/html/public -e NACOS_ADDR=192.168.1.105:8848 -e SERVICE_PORT=8000 -e ORIGIN_URL=file.zeroerr.cn anxan-docker.pkg.coding.net/d/repo/micro-php-nacos:0.0.8
``` ```
- docker-compose.yml - docker-compose.yml
```bash ```bash
@ -12,7 +12,7 @@ networks:
services: services:
micro-php-nacos: micro-php-nacos:
image: anxan-docker.pkg.coding.net/d/repo/micro-php-nacos:0.0.6 image: anxan-docker.pkg.coding.net/d/repo/micro-php-nacos:0.0.8
container_name: micro-php-nacos container_name: micro-php-nacos
restart: unless-stopped restart: unless-stopped
networks: networks: