ajout Airflow

This commit is contained in:
Hubert Cornet 2024-04-02 19:56:52 +02:00
parent 60d24f2349
commit 9f7e5e8020
5 changed files with 67 additions and 17 deletions

31
Airflow/README.md Normal file
View File

@ -0,0 +1,31 @@
![Airflow](./img/logo-Airflow.png)
# Airflow
Apache Airflow est une plateforme de planification de flux de travail open-source, très utilisée dans le domaine de l'ingénierie des données.
# Installation
Pour utiliser Adminer tout seul
```bash
docker compose up -d
```
Pour utiliser Adminer avec Traefik
```bash
docker compose -f docker-compose-traefik.yml up -d
```
Pour utiliser Adminer 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

8
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

@ -1,9 +1,19 @@
version: "3" #### NETWORKS
networks:
docker-traefik_front_network:
external: true
back_network:
driver: bridge
attachable: true
#### SERVICES
services: services:
server:
image: gitea/gitea:1.21.4 ### gitea
container_name: gitea gitea:
container_name: gitea-app
hostname: gitea-app
image: gitea/gitea:${GITEA_VERSION}
environment: environment:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
@ -15,12 +25,11 @@ services:
restart: always restart: always
volumes: volumes:
- ./gitea:/data - ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on: depends_on:
- db - postgres
networks: networks:
- proxy - back_network
- docker-traefik_front_network
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.gitea-secure.entrypoints=https" - "traefik.http.routers.gitea-secure.entrypoints=https"
@ -32,18 +41,19 @@ services:
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
db: ### postgres
postgres:
container_name: gitea-postgres
hostname: gitea-postgres
image: postgres:14 image: postgres:14
restart: always restart: always
environment: environment:
- POSTGRES_USER=gitea PGDATA: /var/lib/postgresql/data/gitea
- POSTGRES_PASSWORD=gitea POSTGRES_DB: gitea_db
- POSTGRES_DB=gitea POSTGRES_PASSWORD: 'P@ssword!Here!123456'
POSTGRES_USER: gitea_user
TZ: Europe/Paris
volumes: volumes:
- ./postgres:/var/lib/postgresql/data - ./postgres:/var/lib/postgresql/data
networks: networks:
- proxy - back_network
networks:
proxy:
external: true

View File

@ -5,6 +5,7 @@ Voici la liste des l'ensembles des docker-compose d'application que j'utilise.
| Type | Nom | Variable environnement | Alone | With Traefik | With Nginx | options | Site web | | Type | Nom | Variable environnement | Alone | With Traefik | With Nginx | options | Site web |
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
| Gestion | [Adminer](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Adminer/ "Adminer") ||✅|✅||| https://www.adminer.org | | Gestion | [Adminer](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Adminer/ "Adminer") ||✅|✅||| https://www.adminer.org |
| Ordonnaceur | [Airflow](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Airflow/ "Airflow") ||✅|✅||| https://airflow.apache.org |
| Authentication | [Authelia](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Authelia/ "Authelia") ||✅|✅||| https://www.authelia.com | | Authentication | [Authelia](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Authelia/ "Authelia") ||✅|✅||| https://www.authelia.com |
| Authentication | [Authentik](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Authentik/ "Authentik")|✅|✅|✅||| https://goauthentik.io | | Authentication | [Authentik](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Authentik/ "Authentik")|✅|✅|✅||| https://goauthentik.io |
| | [Cloudflare-Tunnel](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Cloudflare-Tunnel/ "Cloudflare-Tunnel") |||||| https://www.cloudflare.com | | | [Cloudflare-Tunnel](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Cloudflare-Tunnel/ "Cloudflare-Tunnel") |||||| https://www.cloudflare.com |