diff --git a/_nginx/Dockerfile b/_nginx/Dockerfile index d9450aa..51486a8 100644 --- a/_nginx/Dockerfile +++ b/_nginx/Dockerfile @@ -2,8 +2,8 @@ FROM docker.io/nginx:latest as base ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get install -y --no-install-recommends \ - certbot \ cron \ + python3-certbot-nginx \ && rm -rf /var/lib/apt/lists/* COPY cron.d/ /etc/cron.d/ COPY entrypoint.d/ /docker-entrypoint.d/ diff --git a/_nginx/cron.d/certbot b/_nginx/cron.d/certbot index 2bc1eb0..f8164b7 100644 --- a/_nginx/cron.d/certbot +++ b/_nginx/cron.d/certbot @@ -1 +1 @@ -0 0 * * * root certbot --webroot -w /var/www/certbot/ -q renew +0 0 * * * root certbot --nginx -q renew diff --git a/gitea/compose.yaml b/gitea/compose.yaml index e63f045..0b0e7b3 100644 --- a/gitea/compose.yaml +++ b/gitea/compose.yaml @@ -23,7 +23,7 @@ services: - POSTGRES_PASSWORD=$POSTGRES_PASSWORD gitea: - image: docker.io/gitea/gitea:1.20 + image: docker.io/gitea/gitea:1.21 restart: unless-stopped volumes: - data:/data/ diff --git a/matrix/new_user.sh b/matrix/new_user.sh index fa18f88..f61e3d4 100755 --- a/matrix/new_user.sh +++ b/matrix/new_user.sh @@ -1,3 +1,3 @@ #!/bin/bash -sudo docker-compose exec -it matrix register_new_matrix_user -c /config/homeserver.yaml +sudo docker-compose exec matrix register_new_matrix_user -c /config/homeserver.yaml