35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
########
|
|
# DOCKER
|
|
|
|
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
|
|
|
|
#######
|
|
# GITEA
|
|
# https://docs.gitea.io/en-us/install-with-docker/#environments-variables
|
|
|
|
GITEA_DOMAIN=gitea.lan
|
|
GITEA_VOLUME_NAME=gitea
|
|
GITEA_IMAGE=gitea/gitea:1.18.4
|
|
GITEA_PROTOCOL=http
|
|
GITEA_SECRET_KEY=kt5UdK0m9lI9MDyhVOFEB5jk7VwFynDyaxcUjEJUpWJBrC6FyH4dkUDKLYEa7hGn
|
|
GITEA_INTERNAL_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2NzY5NzkxMzZ9.Iopu6DBUhglmNPzEyYylfmTmEUpYLHYEsNrm50GoBkU
|
|
|
|
# SMTP
|
|
|
|
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
|
|
POSTGRES_IMAGE=postgres:15.2-alpine
|