You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	graphite: populate STATIC_ROOT
This commit is contained in:
		| @@ -34,7 +34,8 @@ RUN set -xe \ | ||||
|     && echo "SECRET_KEY = '$(head -c 16 /dev/urandom | base64)'" > graphite/local_settings.py \ | ||||
|     && curl -sSL https://github.com/graphite-project/graphite-web/raw/master/webapp/manage.py > manage.py \ | ||||
|     && chmod +x manage.py \ | ||||
|     && ./manage.py migrate --run-syncdb --noinput \ | ||||
|     && ./manage.py collectstatic --noinput --settings=graphite.settings \ | ||||
|     && ./manage.py migrate --noinput --run-syncdb \ | ||||
|     && apk del build-base \ | ||||
|                curl \ | ||||
|                git \ | ||||
|   | ||||
| @@ -35,9 +35,10 @@ $ mkdir -p data/storage/log/webapp | ||||
| $ docker-compose up -d | ||||
| $ docker-compose exec graphite sh | ||||
| >>> vi conf/storage-schemas.conf | ||||
| >>> python webapp/manage.py migrate --run-syncdb --noinput | ||||
| >>> python webapp/manage.py migrate --noinput --run-syncdb | ||||
| >>> python webapp/manage.py createsuperuser | ||||
| >>> python webapp/manage.py changepassword | ||||
| >>> supervisorctl restart | ||||
| >>> supervisorctl status | ||||
| carbon-aggregator   RUNNING   pid 9, uptime 0:00:13 | ||||
| carbon-cache        RUNNING   pid 8, uptime 0:00:22 | ||||
|   | ||||
							
								
								
									
										0
									
								
								graphite/data/storage/log/webapp/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								graphite/data/storage/log/webapp/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
		Reference in New Issue
	
	Block a user