28 lines
675 B
Bash
28 lines
675 B
Bash
COMPOSE_FILE=../postgres/docker-compose.yml:./docker-compose.yml:./docker-compose.override.yml
|
|
|
|
# APP
|
|
|
|
GITEA_VOLUME_NAME=gitea
|
|
GITEA_PROTOCOL=http
|
|
GITEA_DOMAIN=gitea.lan
|
|
|
|
# APP CONFIG
|
|
# https://docs.gitea.io/en-us/install-with-docker/#environments-variables
|
|
|
|
DISABLE_SSH=true
|
|
RUN_MODE=prod
|
|
ROOT_URL=${GITEA_PROTOCOL}://${GITEA_DOMAIN}
|
|
DISABLE_REGISTRATION=true
|
|
DISABLE_GRAVATAR=true
|
|
#INSTALL_LOCK=true
|
|
|
|
# DATABASE
|
|
# Voir la description ../postgres/README.md
|
|
|
|
POSTGRES_IMAGE=postgres:12.7-alpine
|
|
POSTGRES_USER=user-example
|
|
POSTGRES_PASSWORD=password-example
|
|
POSTGRES_DB=postgres-database-name-example
|
|
POSTGRES_CONTAINER_NAME=gitea-postgres
|
|
POSTGRES_VOLUME_NAME=gitea-postgres
|