add several config files, namely relevant to docker-30 and gitea
This commit is contained in:
14
docker-30/gitea/readme.md
Normal file
14
docker-30/gitea/readme.md
Normal 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
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user