SHA256
forked from course-team/tjhlp-gitea
29 lines
641 B
Bash
29 lines
641 B
Bash
# Copy this file to .env before running docker compose.
|
|
|
|
# Image versions
|
|
GITEA_IMAGE=gitea/gitea:1.26.1
|
|
POSTGRES_IMAGE=postgres:18
|
|
|
|
# Container runtime user
|
|
PUID=1000
|
|
PGID=1000
|
|
|
|
# Published ports on the Docker host
|
|
GITEA_HTTP_PORT=3000
|
|
|
|
# Public URL used by Gitea
|
|
# For local access you can keep localhost.
|
|
GITEA_DOMAIN=localhost
|
|
GITEA_ROOT_URL=http://localhost:3000/
|
|
|
|
# PostgreSQL settings
|
|
POSTGRES_DB=gitea
|
|
POSTGRES_USER=gitea
|
|
POSTGRES_PASSWORD=change_this_db_password
|
|
POSTGRES_SSL_MODE=disable
|
|
|
|
# First admin account used by init-admin.sh
|
|
GITEA_ADMIN_USERNAME=admin
|
|
GITEA_ADMIN_PASSWORD=ChangeMe!2026
|
|
GITEA_ADMIN_EMAIL=[email protected]
|