Files
gitea/.ddev/.gitignore
T
Oleks d4d44cf283 chore(ddev): local dev environment for testing the Projects API
`ddev start` provisions:
- web container: Debian + Go 1.26.3 + node 24, builds gitea via `ddev build-gitea`
- db: postgres 17
- router: https://gitea.ddev.site → gitea on container port 3000

First-run steps:
  ddev start
  ddev build-gitea
  ddev restart
  ddev exec './gitea --config .ddev/gitea/app.ini admin user create \
    --admin --username ddev --password ddev1234567890 \
    --email ddev@example.com --must-change-password=false'

.ddev/.gitignore uses a whitelist: only the 6 files we authored are tracked;
DDEV's generated content (compose files, provider templates, snapshots,
gocache, gitea runtime data) is ignored.
2026-05-13 10:59:59 +03:00

18 lines
343 B
Plaintext

# Whitelist approach: ignore everything in .ddev by default, then re-include
# the files we author. DDEV regenerates the rest on `ddev start`.
*
!.gitignore
!config.yaml
!web-build/
web-build/*
!web-build/Dockerfile
!commands/
commands/*
!commands/web/
commands/web/*
!commands/web/build-gitea
!gitea/
gitea/*
!gitea/app.ini
!gitea/.gitignore