Commit c1e549d6 authored by Felix Bartels's avatar Felix Bartels

asset debugging

Signed-off-by: Felix Bartels's avatarFelix Bartels <felix@host-consultants.de>
parent 4fcce544
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
EXPOSE 8080
ENV \
VERBOSE=4 \
USE_CDN=true
# STATPING_DIR=/app/data
ARG STATPING_VERSION=0.90.30
ENV STATPING_DIR=/app/data
ARG STATPING_VERSION=0.90.31
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update && \
apt-get install -y sass && \
rm -rf /var/cache/apt /var/lib/apt/lists
WORKDIR /app/pkg
RUN curl -L https://github.com/statping/statping/releases/download/v$STATPING_VERSION/statping-linux-amd64.tar.gz | tar -xz -f -
RUN curl -L https://github.com/statping/statping/releases/download/v$STATPING_VERSION/statping-linux-amd64.tar.gz | tar -xz -f - && \
echo "Statping is verion $(/app/pkg/statping version)"
COPY start.sh /app/pkg/
WORKDIR /app/data
......
......@@ -7,6 +7,19 @@ export DB_USER=$CLOUDRON_POSTGRESQL_USERNAME
export DB_PASS=$CLOUDRON_POSTGRESQL_PASSWORD
export DB_DATABASE=$CLOUDRON_POSTGRESQL_DATABASE
if [ ! -e .env ]; then
cat <<-EOF > "./.env"
# Config file to load
NAME=Demo
DESCRIPTION=This is an awesome page
DOMAIN=https://$CLOUDRON_APP_DOMAIN
USE_CDN=false
IS_DOCKER=true
EOF
fi
source .env
# the credentials for the postgres database are changing, but statping stores them in config.yml and wants to reuse old credentials
#rm /app/data/config.yml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment