diff --git a/Airflow/README.md b/Airflow/README.md new file mode 100644 index 00000000..ea4c2acf --- /dev/null +++ b/Airflow/README.md @@ -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 +Buy Me a Coffee at ko-fi.com \ No newline at end of file diff --git a/Airflow/img/logo-Airflow.png b/Airflow/img/logo-Airflow.png new file mode 100644 index 00000000..a3723ca6 Binary files /dev/null and b/Airflow/img/logo-Airflow.png differ diff --git a/Gitea/.env b/Gitea/.env new file mode 100644 index 00000000..cc842d89 --- /dev/null +++ b/Gitea/.env @@ -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 \ No newline at end of file diff --git a/Gitea/docker-compose.yaml b/Gitea/docker-compose.yaml index 85f73760..b9458540 100644 --- a/Gitea/docker-compose.yaml +++ b/Gitea/docker-compose.yaml @@ -1,9 +1,19 @@ -version: "3" +#### NETWORKS +networks: + docker-traefik_front_network: + external: true + back_network: + driver: bridge + attachable: true +#### SERVICES services: - server: - image: gitea/gitea:1.21.4 - container_name: gitea + +### gitea + gitea: + container_name: gitea-app + hostname: gitea-app + image: gitea/gitea:${GITEA_VERSION} environment: - USER_UID=1000 - USER_GID=1000 @@ -15,12 +25,11 @@ services: restart: always volumes: - ./gitea:/data - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro depends_on: - - db + - postgres networks: - - proxy + - back_network + - docker-traefik_front_network labels: - "traefik.enable=true" - "traefik.http.routers.gitea-secure.entrypoints=https" @@ -32,18 +41,19 @@ services: security_opt: - no-new-privileges:true - db: +### postgres + postgres: + container_name: gitea-postgres + hostname: gitea-postgres image: postgres:14 restart: always environment: - - POSTGRES_USER=gitea - - POSTGRES_PASSWORD=gitea - - POSTGRES_DB=gitea + 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: - - proxy - -networks: - proxy: - external: true \ No newline at end of file + - back_network diff --git a/README.md b/README.md index 5b3bd0aa..ab05b01a 100644 --- a/README.md +++ b/README.md @@ -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 | |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| | 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 | [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 |