You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
929 B
YAML

version: "3"
services:
gitea:
image: gitea/gitea:1.16.4
environment:
# Git user (1000 est réserver pour l'utilisateur Aurore)
- USER_UID=1001
- USER_GID=1001
# Databse Postreg
- DB_TYPE=postgres
- DB_NAME=gitea
- DB_USER=gitea
- "DB_HOST=${DB_HOST}"
- "DB_PASSWD=${DB_PASSWD}"
# General settings
- "APP_NAME=Gitea: Service Git d'Aurore"
- RUN_MODE=prod
- DOMAIN=gitea.auro.re
- SSH_DOMAIN=gitea.auro.re
- SSH_PORT=2222
- "ROOT_URL=https://gitea.auro.re"
# - LFS_START_SERVER=true # Git Large File Storage
# Login settings
- DISABLE_REGISTRATION=false
- ENABLE_OPENID_SIGNIN=false
restart: always
volumes:
- /mnt/data_gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "2222:2222"