12 lines
304 B
Bash
Executable file
12 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
|