The 1.22 (non-rootless) image expects everything under /data (/data/gitea/conf/app.ini, /data/git/repositories, etc.). I'd configured the rootless paths (/var/lib/gitea + /etc/gitea), so the app.ini that gitea writes on first boot landed in the container's ephemeral fs instead of the host volume. Result: 'docker exec gitea gitea admin user create' could not find the config and bailed with 'Unable to load config file for a installed Gitea instance'. Also set GITEA__security__INSTALL_LOCK=true so the first boot bypasses the /install web wizard since every required field is already provided via GITEA__* env vars. Migration for an existing broken install: make down-gitea sudo rm -rf infra/gitea/gitea/data infra/gitea/gitea/config make up-gitea
40 lines
523 B
Plaintext
40 lines
523 B
Plaintext
node_modules/
|
|
dist/
|
|
build/
|
|
.cache/
|
|
.turbo/
|
|
*.log
|
|
.DS_Store
|
|
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
!.env.example
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.pyd
|
|
.venv/
|
|
venv/
|
|
.python-version
|
|
.mypy_cache/
|
|
.pytest_cache/
|
|
.ruff_cache/
|
|
*.egg-info/
|
|
|
|
# Diretórios de dados (bind mounts dos volumes Docker)
|
|
infra/main/postgres/data/
|
|
infra/main/redis/data/
|
|
infra/main/minio/data/
|
|
infra/main/pgadmin/data/
|
|
infra/main/caddy/data/
|
|
infra/main/caddy/config/
|
|
infra/gitea/gitea/data/
|
|
infra/gitea/runner/data/
|
|
infra/wedding_photo/backups/
|
|
|
|
.vscode/
|
|
.idea/
|