Add Gitea self-hosted git server
Docker Compose stack (Gitea + Postgres) on port 3000, SSH on 2222, reverse-proxied via Caddy at git.monotrope.au. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: build serve deploy ssh setup miniflux goatcounter
|
||||
.PHONY: build serve deploy ssh setup miniflux gitea goatcounter enrich
|
||||
|
||||
# Load .env if it exists
|
||||
-include .env
|
||||
@@ -7,7 +7,7 @@ export
|
||||
DEPLOY_USER := deploy
|
||||
MONOTROPE_HOST ?=
|
||||
|
||||
build:
|
||||
build: enrich
|
||||
cd site && hugo --minify
|
||||
|
||||
serve:
|
||||
@@ -29,6 +29,13 @@ miniflux:
|
||||
@test -n "$(MONOTROPE_HOST)" || (echo "Error: MONOTROPE_HOST is not set"; exit 1)
|
||||
ansible-playbook -i "$(MONOTROPE_HOST)," -u root infra/ansible/playbook.yml --tags miniflux
|
||||
|
||||
gitea:
|
||||
@test -n "$(MONOTROPE_HOST)" || (echo "Error: MONOTROPE_HOST is not set"; exit 1)
|
||||
ansible-playbook -i "$(MONOTROPE_HOST)," -u root infra/ansible/playbook.yml --tags gitea
|
||||
|
||||
goatcounter:
|
||||
@test -n "$(MONOTROPE_HOST)" || (echo "Error: MONOTROPE_HOST is not set"; exit 1)
|
||||
ansible-playbook -i "$(MONOTROPE_HOST)," -u root infra/ansible/playbook.yml --tags goatcounter
|
||||
|
||||
enrich:
|
||||
uv run enrich.py
|
||||
|
||||
Reference in New Issue
Block a user