2020-09-16 13:16:51 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
gitea:
|
2022-12-22 12:24:55 +01:00
|
|
|
image: gitea/gitea:1.17.4
|
2020-09-16 13:16:51 +02:00
|
|
|
environment:
|
2020-09-22 01:00:06 +02:00
|
|
|
|
2022-05-06 04:08:59 +02:00
|
|
|
# Git user (1000 est réservé pour l'utilisateur Aurore)
|
|
|
|
USER_UID: "1001"
|
|
|
|
USER_GID: "1001"
|
2020-09-22 01:00:06 +02:00
|
|
|
|
2022-05-06 04:08:59 +02:00
|
|
|
# Database Postgres
|
|
|
|
DB_TYPE: "postgres"
|
|
|
|
DB_NAME: "gitea"
|
|
|
|
DB_USER: "gitea"
|
|
|
|
DB_HOST: "${DB_HOST}"
|
|
|
|
DB_PASSWD: "${DB_PASSWD}"
|
2020-09-22 01:00:06 +02:00
|
|
|
|
|
|
|
# General settings
|
2022-05-06 04:08:59 +02:00
|
|
|
APP_NAME: "Gitea: Service Git d'Aurore"
|
|
|
|
RUN_MODE: "dev"
|
|
|
|
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
|
2020-09-22 01:00:06 +02:00
|
|
|
|
|
|
|
# Login settings
|
2022-05-06 04:08:59 +02:00
|
|
|
DISABLE_REGISTRATION: "true"
|
|
|
|
ENABLE_OPENID_SIGNIN: "false"
|
2020-09-22 01:00:06 +02:00
|
|
|
|
2020-09-16 13:16:51 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
2020-09-22 01:31:26 +02:00
|
|
|
- /mnt/data_gitea:/data
|
2022-05-06 04:08:59 +02:00
|
|
|
- /mnt/data_gitea/data:/app/gitea/data
|
2020-09-16 13:16:51 +02:00
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
2020-09-22 01:00:06 +02:00
|
|
|
- "2222:2222"
|