mirror of
https://github.com/terraphim/gitea-infrastructure.git
synced 2026-07-16 00:00:32 +02:00
fix: Update S3 config and add Gitea URL settings
- Change MINIO_ENDPOINT from IP to Docker hostname (s3storage) - Add ROOT_URL and DOMAIN settings for proper Gitea configuration - Give anonymous users Admin permission for bucket creation - Document SeaweedFS bucket creation process
This commit is contained in:
@@ -20,6 +20,14 @@ services:
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
# Public URL settings
|
||||
- GITEA__server__DOMAIN=git.terraphim.cloud
|
||||
- GITEA__server__ROOT_URL=https://git.terraphim.cloud/
|
||||
- GITEA__server__PROTOCOL=http
|
||||
- GITEA__server__HTTP_PORT=3000
|
||||
- GITEA__server__DISABLE_SSH=false
|
||||
- GITEA__server__SSH_PORT=22
|
||||
- GITEA__server__SSH_LISTEN_PORT=22
|
||||
- GITEA__database__DB_TYPE=postgres
|
||||
- GITEA__database__HOST=db:5432
|
||||
- GITEA__database__NAME=gitea
|
||||
@@ -33,8 +41,8 @@ services:
|
||||
- GITEA__storage__MINIO_SECRET_ACCESS_KEY=op://TerraphimPlatform/gitea-s3/secret-key
|
||||
- GITEA__storage__MINIO_BUCKET=gitea
|
||||
- GITEA__storage__MINIO_LOCATION=us-east-1
|
||||
# Use Tailscale IP for internal S3 access
|
||||
- GITEA__storage__MINIO_ENDPOINT=http://100.106.66.7:8333
|
||||
# Use Docker internal hostname for S3 (containers on same network)
|
||||
- GITEA__storage__MINIO_ENDPOINT=http://s3storage:8333
|
||||
- GITEA__storage__MINIO_INSECURE_SKIP_VERIFY=false
|
||||
- GITEA__storage__MINIO_USE_SSL=false
|
||||
- GITEA__storage__SERVE_DIRECT=true
|
||||
|
||||
Reference in New Issue
Block a user