add several config files, namely relevant to docker-30 and gitea

This commit is contained in:
Jan Novak
2025-12-27 00:19:16 +01:00
parent cd85cc8163
commit b02ef13a6b
8 changed files with 236 additions and 5 deletions

14
docker-30/gitea/readme.md Normal file
View File

@@ -0,0 +1,14 @@
# Gitea
```bash
# mkdir -p /srv/docker/gitea-production/{data,postgres,minio,config}
mkdir -p /srv/docker/gitea-production/{data,postgres,config}
cd /srv/docker/gitea-production
# Generate secure passwords
echo "POSTGRES_PASSWORD=$(openssl rand -base64 32)" > .env
echo "MINIO_ROOT_PASSWORD=$(openssl rand -base64 24)" >> .env
echo "GITEA_SECRET_KEY=$(openssl rand -base64 32)" >> .env
echo "INTERNAL_TOKEN=$(openssl rand -base64 32)" >> .env
```