mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-11-23 17:01:04 +00:00
Merge branch 'master' into 'master'
Master See merge request cloudron/prometheus-server-app!2
This commit is contained in:
commit
de4f151912
3 changed files with 5 additions and 2 deletions
|
@ -4,3 +4,6 @@
|
|||
[0.2.0]
|
||||
* Fix app title
|
||||
|
||||
[0.3.0]
|
||||
* Fix first run command
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.0",
|
||||
"id": "io.prometheus.cloudronapp",
|
||||
"title": "Prometheus Server",
|
||||
"author": "Erik Tadevosyan",
|
||||
|
|
2
start.sh
2
start.sh
|
@ -6,7 +6,7 @@ mkdir -p /app/data/runtime /app/data/config
|
|||
|
||||
if [[ ! -f /app/data/config/prometheus.yml ]]; then
|
||||
echo "=> Creating config file on first run"
|
||||
cp /app/code/prometheus.yml /app/data/config/prometheus.yml
|
||||
sudo -u cloudron cp -n /app/code/prometheus.yml /app/data/config/prometheus.yml
|
||||
fi
|
||||
|
||||
chown -R cloudron:cloudron /app/data
|
||||
|
|
Loading…
Reference in a new issue