fix: certificate renewal

This commit is contained in:
AngeD 2023-11-26 15:43:53 +01:00
parent ca0bc09a06
commit 25864e5905
4 changed files with 4 additions and 4 deletions

View File

@ -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/

View File

@ -1 +1 @@
0 0 * * * root certbot --webroot -w /var/www/certbot/ -q renew
0 0 * * * root certbot --nginx -q renew

View File

@ -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/

View File

@ -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