fix: certificate renewal
This commit is contained in:
parent
ca0bc09a06
commit
25864e5905
@ -2,8 +2,8 @@ FROM docker.io/nginx:latest as base
|
|||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
certbot \
|
|
||||||
cron \
|
cron \
|
||||||
|
python3-certbot-nginx \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
COPY cron.d/ /etc/cron.d/
|
COPY cron.d/ /etc/cron.d/
|
||||||
COPY entrypoint.d/ /docker-entrypoint.d/
|
COPY entrypoint.d/ /docker-entrypoint.d/
|
||||||
|
@ -1 +1 @@
|
|||||||
0 0 * * * root certbot --webroot -w /var/www/certbot/ -q renew
|
0 0 * * * root certbot --nginx -q renew
|
||||||
|
@ -23,7 +23,7 @@ services:
|
|||||||
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
image: docker.io/gitea/gitea:1.20
|
image: docker.io/gitea/gitea:1.21
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- data:/data/
|
- data:/data/
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/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
|
||||||
|
Loading…
Reference in New Issue
Block a user