30 lines
733 B
Bash
30 lines
733 B
Bash
COMPOSE_FILE=../postgres/docker-compose.yml:./docker-compose.yml:./docker-compose.override.yml
|
|
|
|
# APP
|
|
|
|
GITEA_IMAGE=gitea/gitea:1.11.5
|
|
GITEA_CONTAINER_NAME=gitea
|
|
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.2-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
|