mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2025-02-15 17:15:14 +00:00
11 lines
304 B
Bash
Executable file
11 lines
304 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
mkdir -p /app/data/runtime /app/data/config
|
|
|
|
chown -R cloudron:cloudron /app/data
|
|
|
|
echo "=> Starting Prometheus"
|
|
cd /usr/local/bin/prometheus
|
|
exec /usr/local/bin/gosu cloudron:cloudron ./prometheus --config.file=/app/data/config/prometheus.yml --storage.tsdb.path=/app/data/runtime
|