mirror of
https://github.com/viljarb0/site.git
synced 2026-08-12 00:57:54 +00:00
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:
22
compose.certbot.yml
Normal file
22
compose.certbot.yml
Normal 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:
|
||||
Reference in New Issue
Block a user