Merge branch 'master' into 'master'

Master

See merge request cloudron/prometheus-server-app!2
This commit is contained in:
Girish Ramakrishnan 2020-11-11 21:27:24 +00:00
commit de4f151912
3 changed files with 5 additions and 2 deletions

View file

@ -4,3 +4,6 @@
[0.2.0]
* Fix app title
[0.3.0]
* Fix first run command

View file

@ -1,5 +1,5 @@
{
"version": "0.2.0",
"version": "0.3.0",
"id": "io.prometheus.cloudronapp",
"title": "Prometheus Server",
"author": "Erik Tadevosyan",

View file

@ -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