modified: .gitignore

new file:   Dockerfile.certbot
	new file:   Dockerfile.nginx
	new file:   Makefile
	new file:   compose.certbot.yml
	new file:   docker-compose.yml
	new file:   entrypoint-certbot.sh
	new file:   entrypoint-nginx.sh
	new file:   nginx-gitea.conf.template
	new file:   nginx.conf.template
This commit is contained in:
viljarb
2026-03-31 13:25:18 +02:00
parent ebfbce7cd2
commit 28212b9d5d
10 changed files with 272 additions and 0 deletions

22
compose.certbot.yml Normal file
View File

@@ -0,0 +1,22 @@
services:
certbot:
profiles:
- certbot # Only run via: docker compose --profile certbot run --rm certbot
network_mode: host
build:
context: .
dockerfile: Dockerfile.certbot
environment:
- DOMAIN=${DOMAIN}
- EMAIL=${EMAIL}
- GITEA_DOMAIN=${GITEA_DOMAIN}
volumes:
- certs:/etc/letsencrypt
ports:
- "80:80"
restart: "no"
volumes:
certs: