This commit is contained in:
2024-04-19 10:27:36 +02:00
parent fcb6bbe566
commit 35c96e715c
7852 changed files with 4815 additions and 8 deletions

8
Repository/Gitea/.env Normal file
View File

@ -0,0 +1,8 @@
GITEA_VERSION=latest
GITEA_HOSTNAME=localhost
GITEA_WEB_PORT=3000
GITEA_SSH_PORT=2222
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=gitea
MYSQL_USER=gitea
MYSQL_PASSWORD=gitea

View File

@ -0,0 +1,30 @@
![Gitea](./img/logo-Gitea.png)
# Gitea
# Installation
Pour utiliser Gitea tout seul
```bash
docker compose up -d
```
Pour utiliser Gitea avec Traefik
```bash
docker compose -f docker-compose-traefik.yml up -d
```
Pour utiliser Gitea avec Nginx
```bash
docker compose -f docker-compose-nginx.yml up -d
```
# Utilisation
## Accueil
# More info
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
# Buy me a coffe
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>s

View File

@ -0,0 +1,59 @@
#### NETWORKS
networks:
docker-traefik_front_network:
external: true
back_network:
driver: bridge
attachable: true
#### SERVICES
services:
### gitea
gitea:
container_name: gitea-app
hostname: gitea-app
image: gitea/gitea:${GITEA_VERSION}
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: always
volumes:
- ./gitea:/data
depends_on:
- postgres
networks:
- back_network
- docker-traefik_front_network
labels:
- "traefik.enable=true"
- "traefik.http.routers.gitea-secure.entrypoints=https"
- "traefik.http.routers.gitea-secure.rule=Host(`gitea.jimsgarage.co.uk`)"
- "traefik.http.routers.gitea-secure.tls=true"
- "traefik.http.routers.gitea-secure.service=gitea@docker"
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
- "traefik.docker.network=proxy"
security_opt:
- no-new-privileges:true
### postgres
postgres:
container_name: gitea-postgres
hostname: gitea-postgres
image: postgres:14
restart: always
environment:
PGDATA: /var/lib/postgresql/data/gitea
POSTGRES_DB: gitea_db
POSTGRES_PASSWORD: 'P@ssword!Here!123456'
POSTGRES_USER: gitea_user
TZ: Europe/Paris
volumes:
- ./postgres:/var/lib/postgresql/data
networks:
- back_network

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,3 @@
Additional permission under GNU GPL version 3 section 7
If you modify this Program, or any covered work, by linking or combining it with [name of library] (or a modified version of that library), containing parts covered by the terms of [name of library's license], the licensors of this Program grant you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of [name of library] used as well as that of the covered work.

View File

@ -0,0 +1,31 @@
![AAAAA](./img/logo-AAAAA.png)
# AAAAA
# Installation
Pour utiliser AAAAA tout seul
```bash
docker compose up -d
```
Pour utiliser AAAAA avec Traefik
```bash
docker compose -f docker-compose-traefik.yml up -d
```
Pour utiliser AAAAA avec Nginx
```bash
docker compose -f docker-compose-nginx.yml up -d
```
# Utilisation
## Accueil
# More info
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
# Buy me a coffe
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

View File