You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	update graphite
This commit is contained in:
		| @@ -7,4 +7,38 @@ graphite | ||||
| - Chew bubblegum. | ||||
| - Make it easy to store and graph metrics. | ||||
|  | ||||
| ## docker-compose.yml | ||||
|  | ||||
| ```yaml | ||||
| graphite: | ||||
|   image: vimagick/graphite | ||||
|   ports: | ||||
|     - 2003:2003 | ||||
|     - 2004:2004 | ||||
|     - 7002:7002 | ||||
|     - 8080:8080 | ||||
|     - 9001:9001 | ||||
|   volumes: | ||||
|     - ./data:/opt/graphite/storage | ||||
|   restart: always | ||||
| ``` | ||||
|  | ||||
| ## Up and Running | ||||
|  | ||||
| ```bash | ||||
| $ cd ~/fig/graphite | ||||
| $ mkdir -p data/log/webapp | ||||
| $ docker-compose up -d | ||||
| >>> python webapp/manage.py migrate --run-syncdb --noinput | ||||
| >>> exit | ||||
| $ tree -F -L 2 | ||||
| ├── data/ | ||||
| │   ├── carbon-cache-a.pid | ||||
| │   ├── graphite.db | ||||
| │   ├── log/ | ||||
| │   └── whisper/ | ||||
| └── docker-compose.yml | ||||
| $ curl http://localhost:8080 | ||||
| ``` | ||||
|  | ||||
| [1]: http://graphiteapp.org/ | ||||
|   | ||||
| @@ -6,4 +6,6 @@ graphite: | ||||
|     - 7002:7002 | ||||
|     - 8080:8080 | ||||
|     - 9001:9001 | ||||
|   volumes: | ||||
|     - ./data:/opt/graphite/storage | ||||
|   restart: always | ||||
|   | ||||
		Reference in New Issue
	
	Block a user