24 lines
735 B
Bash
24 lines
735 B
Bash
# Change these before exposing the server outside your machine.
|
|
POSTGRES_USER=gitea
|
|
POSTGRES_PASSWORD=replace-with-a-long-random-password
|
|
POSTGRES_DB=gitea
|
|
|
|
# Browser and Git SSH settings
|
|
GITEA_DOMAIN=localhost
|
|
GITEA_ROOT_URL=http://localhost:3000/
|
|
GITEA_SSH_DOMAIN=localhost
|
|
GITEA_HTTP_PORT=3000
|
|
GITEA_SSH_PORT=2222
|
|
|
|
# Set to true for a private server after creating your first account.
|
|
DISABLE_REGISTRATION=false
|
|
REQUIRE_SIGNIN_VIEW=false
|
|
|
|
# Linux host UID/GID for the rootless image. Keep the defaults on Windows/macOS.
|
|
USER_UID=1000
|
|
USER_GID=1000
|
|
|
|
# Only needed when migration cannot uniquely find the older named volumes.
|
|
# LEGACY_GITEA_VOLUME=git-docker-server_gitea_data
|
|
# LEGACY_POSTGRES_VOLUME=git-docker-server_postgres_data
|