mirror of
				https://github.com/veops/cmdb.git
				synced 2025-11-04 13:46:17 +08:00 
			
		
		
		
	移除多余的docker-start目录
This commit is contained in:
		@@ -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 \
 | 
			
		||||
	&&  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"]
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user