移除多余的docker-start目录

This commit is contained in:
fxiang21 2019-11-07 19:51:44 +08:00 committed by pycook
parent ef6300255a
commit 733ac3b2b4
5 changed files with 3 additions and 3 deletions

View File

@ -60,5 +60,5 @@ docker运行
----
进入主目录
```
docker-compose up
docker-compose up -d
```

View File

@ -12,7 +12,7 @@ WORKDIR /data/apps/cmdb
RUN yum install -y epel-release \
&& yum install -y python-pip \
&& pip install --no-cache-dir -r docker-start/requirements.txt
&& pip install --no-cache-dir -r docs/requirements.txt
CMD ["bash", "-c", "cp api/settings.py.example api/settings.py && sed -i 's#{user}:{password}@127.0.0.1:3306/{db}#:@127.0.0.1:3306/cmdb#g' api/settings.py && flask run"]

View File

@ -81,7 +81,7 @@ services:
CMDB_UI_HOST: cmdb-ui:8000
NGINX_PORT: 80
volumes:
- ./docker-start/nginx.cmdb.conf.example:/etc/nginx/conf.d/nginx.cmdb.conf.example
- ./docs/nginx.cmdb.conf.example:/etc/nginx/conf.d/nginx.cmdb.conf.example
command:
- /bin/bash
- -c