services/gitea/.env

35 lines
1.1 KiB
Bash
Raw Permalink Normal View History

2023-02-21 12:44:00 +01:00
########
# DOCKER
2023-02-21 12:44:00 +01:00
SERVICES_DIR=".."
COMPOSE_FILE=${SERVICES_DIR}/gitea/docker-compose.yml:${SERVICES_DIR}/gitea/docker-compose.traefik.yml:${SERVICES_DIR}/gitea/docker-compose.smtp.yml:${SERVICES_DIR}/gitea/docker-compose.metrics.yml:${SERVICES_DIR}/postgres/docker-compose.yml
COMPOSE_PROJECT_NAME=$GITEA_DOMAIN
2023-02-21 12:44:00 +01:00
#######
# GITEA
# https://docs.gitea.io/en-us/install-with-docker/#environments-variables
GITEA_DOMAIN=gitea.lan
GITEA_VOLUME_NAME=gitea
2023-02-21 12:44:00 +01:00
GITEA_IMAGE=gitea/gitea:1.18.4
GITEA_PROTOCOL=http
2023-02-21 12:44:00 +01:00
GITEA_SECRET_KEY=kt5UdK0m9lI9MDyhVOFEB5jk7VwFynDyaxcUjEJUpWJBrC6FyH4dkUDKLYEa7hGn
GITEA_INTERNAL_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2NzY5NzkxMzZ9.Iopu6DBUhglmNPzEyYylfmTmEUpYLHYEsNrm50GoBkU
2023-02-21 12:44:00 +01:00
# SMTP
2023-02-21 12:44:00 +01:00
GITEA__mailer__FROM='"Name" <email@example.com>'
GITEA__mailer__SMTP_ADDR=smtp.gitea.lan
GITEA__mailer__SMTP_PORT=465
GITEA__mailer__USER=gitea.lan
GITEA__mailer__PASSWD=gitea.lan
# DATABASE
POSTGRES_USER=user-example
POSTGRES_PASSWORD=password-example
POSTGRES_DB=postgres-database-name-example
POSTGRES_CONTAINER_NAME=gitea-postgres
POSTGRES_VOLUME_NAME=gitea-postgres
2023-02-21 12:44:00 +01:00
POSTGRES_IMAGE=postgres:15.2-alpine