Compare commits

...

4 commits

4 changed files with 4 additions and 3 deletions

View file

@ -27,9 +27,9 @@ RUN mkdir /config && \
# REQUIRED
ENV NGINX_PORT=80
ENV SERVER_NAME="quartz.zhao.xyz"
ENV ENABLE_CRON="false"
ENV BUILD_SCHEDULE="*/5 * * * *"
ENV SERVER_NAME="quartz.zhao.xyz"
ENV QUARTZ_CONFIG_PATH="/config/config.json"
COPY entrypoint.sh /entrypoint.sh

View file

@ -18,4 +18,6 @@ exec:
.PHONY: push
push:
docker system prune
docker build --no-cache --tag code.modernleft.org/gravityfargo/quartz-docker:$(TAG) .
docker push code.modernleft.org/gravityfargo/quartz-docker:$(TAG)

View file

@ -11,7 +11,6 @@ services:
SERVER_NAME: "localhost"
ENABLE_CRON: "true"
BUILD_SCHEDULE: "*/10 * * * *"
QUARTZ_CONFIG_PATH: "/config/config.json"
volumes:
- /home/nathan/Repositories/modernleft-docs:/content
- ./config:/config

View file

@ -36,7 +36,7 @@ main() {
npm i >/dev/null
echo "Building Quartz..."
npx quartz build
npx quartz build >/dev/null
echo "Starting Nginx..."
exec nginx -g "daemon off;"