mirror of https://github.com/veops/cmdb.git
移除多余的docker-start目录
This commit is contained in:
parent
ef6300255a
commit
733ac3b2b4
|
@ -60,5 +60,5 @@ docker运行
|
||||||
----
|
----
|
||||||
进入主目录
|
进入主目录
|
||||||
```
|
```
|
||||||
docker-compose up
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
|
@ -12,7 +12,7 @@ WORKDIR /data/apps/cmdb
|
||||||
|
|
||||||
RUN yum install -y epel-release \
|
RUN yum install -y epel-release \
|
||||||
&& yum install -y python-pip \
|
&& 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"]
|
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"]
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ services:
|
||||||
CMDB_UI_HOST: cmdb-ui:8000
|
CMDB_UI_HOST: cmdb-ui:8000
|
||||||
NGINX_PORT: 80
|
NGINX_PORT: 80
|
||||||
volumes:
|
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:
|
command:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
|
|
Loading…
Reference in New Issue