更新使用方法示例
This commit is contained in:
parent
b293d5c4c3
commit
ccc23f40e7
|
@ -2,7 +2,7 @@
|
|||
-
|
||||
- docker运行命令
|
||||
```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
|
||||
```bash
|
||||
|
@ -12,7 +12,7 @@ networks:
|
|||
|
||||
services:
|
||||
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
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue