all
This commit is contained in:
3
Data/Debezium/LICENSE
Normal file
3
Data/Debezium/LICENSE
Normal 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.
|
66
Data/Debezium/README.md
Normal file
66
Data/Debezium/README.md
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL :
|
||||
|
||||
# Debezium
|
||||
|
||||
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Debezium
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd Data\Debezium
|
||||
```
|
||||
|
||||
## Modifier la configuration de Debezium
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd Data\Debezium
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Debezium
|
||||
|
||||
Pour utiliser Debezium tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Debezium avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Debezium.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
66
Data/Debezium/docker-compose-traefik.yml
Normal file
66
Data/Debezium/docker-compose-traefik.yml
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL : HHHHH
|
||||
|
||||
# Fichier-Stockage
|
||||
|
||||
GGGGG
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
## Modifier la configuration de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Fichier-Stockage
|
||||
|
||||
Pour utiliser Fichier-Stockage tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Fichier-Stockage avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Fichier-Stockage.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
8
Data/Debezium/docker-compose.yml
Normal file
8
Data/Debezium/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
#### NETWORKS
|
||||
networks:
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
|
||||
#### SERVICES
|
||||
services:
|
BIN
Data/Debezium/img/banniere-Debezium.png
Normal file
BIN
Data/Debezium/img/banniere-Debezium.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
3
Data/Graylog/LICENSE
Normal file
3
Data/Graylog/LICENSE
Normal 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.
|
66
Data/Graylog/README.md
Normal file
66
Data/Graylog/README.md
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL :
|
||||
|
||||
# Graylog
|
||||
|
||||
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Graylog
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd Data\Graylog
|
||||
```
|
||||
|
||||
## Modifier la configuration de Graylog
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd Data\Graylog
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Graylog
|
||||
|
||||
Pour utiliser Graylog tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Graylog avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Graylog.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
66
Data/Graylog/docker-compose-traefik.yml
Normal file
66
Data/Graylog/docker-compose-traefik.yml
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL : HHHHH
|
||||
|
||||
# Fichier-Stockage
|
||||
|
||||
GGGGG
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
## Modifier la configuration de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Fichier-Stockage
|
||||
|
||||
Pour utiliser Fichier-Stockage tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Fichier-Stockage avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Fichier-Stockage.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
8
Data/Graylog/docker-compose.yml
Normal file
8
Data/Graylog/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
#### NETWORKS
|
||||
networks:
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
|
||||
#### SERVICES
|
||||
services:
|
BIN
Data/Graylog/img/banniere-Graylog.png
Normal file
BIN
Data/Graylog/img/banniere-Graylog.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
3
Data/Kafka/LICENSE
Normal file
3
Data/Kafka/LICENSE
Normal 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.
|
30
Data/Kafka/README.md
Normal file
30
Data/Kafka/README.md
Normal file
@ -0,0 +1,30 @@
|
||||

|
||||
|
||||
# Kafka
|
||||
|
||||
# Installation
|
||||
|
||||
Pour utiliser Kafka tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Kafka avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
Pour utiliser Kafka 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>
|
33
Data/Kafka/cluster-zk/README.md
Normal file
33
Data/Kafka/cluster-zk/README.md
Normal file
@ -0,0 +1,33 @@
|
||||
## Apache Kafka cluster
|
||||
|
||||
This docker compose provides 3 broker nodes and 1 zookeeper node Kafka Cluster.
|
||||
This helps to test Kafka application on local instead of a real cluster.
|
||||
|
||||
The configurations are bare minimum to start the server and could be changed based on requirement
|
||||
|
||||
There is also a Kafka UI application available at http://localhost:8080
|
||||
|
||||

|
||||
|
||||
### How to start
|
||||
|
||||
```bash
|
||||
docker-compose up
|
||||
|
||||
use -d to run in detached mode
|
||||
```
|
||||
> If you don't see changes to the cluster after updating the yml, try doing
|
||||
> `docker compose down` and then start the cluster again.
|
||||
|
||||
### Port Mapping
|
||||
| Port | Description |
|
||||
|------|-------------------------|
|
||||
| 2181 | Zookeeper |
|
||||
| 9092 | Kafka Broker 1 |
|
||||
| 9093 | Kafka Broker 2 |
|
||||
| 9094 | Kafka Broker 3 |
|
||||
| 8080 | Kafka UI |
|
||||
| 1099 | JMX PORT on all brokers |
|
||||
|
||||
|
||||
|
137
Data/Kafka/cluster-zk/docker-compose.yml
Normal file
137
Data/Kafka/cluster-zk/docker-compose.yml
Normal file
@ -0,0 +1,137 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
zookeeper-kafka:
|
||||
image: confluentinc/cp-zookeeper:latest
|
||||
ports:
|
||||
- '2181:2181'
|
||||
environment:
|
||||
ZOOKEEPER_CLIENT_PORT: 2181
|
||||
ZOOKEEPER_TICK_TIME: 2000
|
||||
healthcheck:
|
||||
# fake healthcheck just to have one to simplify status check
|
||||
test: ['CMD', 'date']
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
# docs at: https://registry.hub.docker.com/r/wurstmeister/kafka
|
||||
kafka-broker-1:
|
||||
image: wurstmeister/kafka:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
- zookeeper-kafka
|
||||
ports:
|
||||
- '9092:9092'
|
||||
volumes:
|
||||
# It's the only way to deal with Kafka non-static exposed ports to host
|
||||
# See: https://github.com/wurstmeister/kafka-docker/blob/master/start-kafka.sh#L65-L76
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
KAFKA_BROKER_ID: 1
|
||||
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-kafka:2181'
|
||||
PORT_COMMAND: 'docker port $$(hostname) 9092/tcp | cut -d: -f2'
|
||||
KAFKA_LISTENERS: 'LISTENER_INTERNAL://kafka-broker-1:29092,LISTENER_HOST://:9092'
|
||||
KAFKA_ADVERTISED_LISTENERS: LISTENER_INTERNAL://kafka-broker-1:29092,LISTENER_HOST://localhost:_{PORT_COMMAND}
|
||||
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LISTENER_INTERNAL:PLAINTEXT,LISTENER_HOST:PLAINTEXT
|
||||
KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_INTERNAL
|
||||
KAFKA_JMX_OPTS: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka-broker-1 -Dcom.sun.management.jmxremote.rmi.port=1099"
|
||||
JMX_PORT: 1099
|
||||
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
|
||||
KAFKA_CREATE_TOPICS: 'test:3:3'
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
'CMD',
|
||||
'/opt/kafka/bin/kafka-topics.sh',
|
||||
'--list',
|
||||
'--bootstrap-server',
|
||||
'kafka-broker-1:29092',
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
kafka-broker-2:
|
||||
image: wurstmeister/kafka:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
- zookeeper-kafka
|
||||
ports:
|
||||
- '9093:9092'
|
||||
volumes:
|
||||
# It's the only way to deal with Kafka non-static exposed ports to host
|
||||
# See: https://github.com/wurstmeister/kafka-docker/blob/master/start-kafka.sh#L65-L76
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
KAFKA_BROKER_ID: 2
|
||||
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-kafka:2181'
|
||||
PORT_COMMAND: 'docker port $$(hostname) 9092/tcp | cut -d: -f2'
|
||||
KAFKA_LISTENERS: 'LISTENER_INTERNAL://kafka-broker-2:29092,LISTENER_HOST://:9092'
|
||||
KAFKA_JMX_OPTS: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka-broker-2 -Dcom.sun.management.jmxremote.rmi.port=1099"
|
||||
JMX_PORT: 1099
|
||||
KAFKA_ADVERTISED_LISTENERS: LISTENER_INTERNAL://kafka-broker-2:29092,LISTENER_HOST://localhost:_{PORT_COMMAND}
|
||||
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LISTENER_INTERNAL:PLAINTEXT,LISTENER_HOST:PLAINTEXT
|
||||
KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_INTERNAL
|
||||
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
'CMD',
|
||||
'/opt/kafka/bin/kafka-topics.sh',
|
||||
'--list',
|
||||
'--bootstrap-server',
|
||||
'kafka-broker-2:29092',
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
kafka-broker-3:
|
||||
image: wurstmeister/kafka:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
- zookeeper-kafka
|
||||
ports:
|
||||
- '9094:9092'
|
||||
volumes:
|
||||
# It's the only way to deal with Kafka non-static exposed ports to host
|
||||
# See: https://github.com/wurstmeister/kafka-docker/blob/master/start-kafka.sh#L65-L76
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
KAFKA_BROKER_ID: 3
|
||||
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-kafka:2181'
|
||||
PORT_COMMAND: 'docker port $$(hostname) 9092/tcp | cut -d: -f2'
|
||||
KAFKA_LISTENERS: 'LISTENER_INTERNAL://kafka-broker-3:29092,LISTENER_HOST://:9092'
|
||||
KAFKA_JMX_OPTS: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka-broker-3 -Dcom.sun.management.jmxremote.rmi.port=1099"
|
||||
JMX_PORT: 1099
|
||||
KAFKA_ADVERTISED_LISTENERS: LISTENER_INTERNAL://kafka-broker-3:29092,LISTENER_HOST://localhost:_{PORT_COMMAND}
|
||||
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LISTENER_INTERNAL:PLAINTEXT,LISTENER_HOST:PLAINTEXT
|
||||
KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_INTERNAL
|
||||
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
'CMD',
|
||||
'/opt/kafka/bin/kafka-topics.sh',
|
||||
'--list',
|
||||
'--bootstrap-server',
|
||||
'kafka-broker-3:29092',
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
kafka-ui:
|
||||
container_name: kafka-ui
|
||||
image: provectuslabs/kafka-ui:latest
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- zookeeper-kafka
|
||||
- kafka-broker-1
|
||||
- kafka-broker-2
|
||||
- kafka-broker-3
|
||||
environment:
|
||||
KAFKA_CLUSTERS_0_NAME: local
|
||||
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka-broker-1:29092, kafka-broker-2:29092, kafka-broker-3:29092
|
||||
KAFKA_CLUSTERS_0_ZOOKEEPER: zookeeper-kafka:2181
|
||||
KAFKA_CLUSTERS_0_JMXPORT: 1099
|
66
Data/Kafka/docker-compose-traefik.yml
Normal file
66
Data/Kafka/docker-compose-traefik.yml
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL : HHHHH
|
||||
|
||||
# Fichier-Stockage
|
||||
|
||||
GGGGG
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
## Modifier la configuration de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Fichier-Stockage
|
||||
|
||||
Pour utiliser Fichier-Stockage tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Fichier-Stockage avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Fichier-Stockage.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
105
Data/Kafka/docker-compose.yml
Normal file
105
Data/Kafka/docker-compose.yml
Normal file
@ -0,0 +1,105 @@
|
||||
---
|
||||
version: '3.9'
|
||||
|
||||
#### NETWORKS
|
||||
networks:
|
||||
docker-traefik_front_network:
|
||||
external: true
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
|
||||
#### SERVICES
|
||||
services:
|
||||
|
||||
### zookeeper-kafka
|
||||
zookeeper-kafka:
|
||||
container_name: zookeeper
|
||||
hostname: zookeeper
|
||||
image: confluentinc/cp-zookeeper:latest
|
||||
ports:
|
||||
- '2181:2181'
|
||||
networks:
|
||||
- back_network
|
||||
environment:
|
||||
ZOOKEEPER_CLIENT_PORT: 2181
|
||||
ZOOKEEPER_TICK_TIME: 2000
|
||||
healthcheck:
|
||||
# fake healthcheck just to have one to simplify status check
|
||||
test: ['CMD', 'date']
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
### kafka
|
||||
### docs at: https://registry.hub.docker.com/r/wurstmeister/kafka
|
||||
kafka:
|
||||
container_name: kafka
|
||||
hostname: kafka
|
||||
image: wurstmeister/kafka:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
- zookeeper-kafka
|
||||
ports:
|
||||
- '9092:9092'
|
||||
networks:
|
||||
- back_network
|
||||
volumes:
|
||||
# It's the only way to deal with Kafka non-static exposed ports to host
|
||||
# See: https://github.com/wurstmeister/kafka-docker/blob/master/start-kafka.sh#L65-L76
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
KAFKA_BROKER_ID: 1
|
||||
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-kafka:2181'
|
||||
PORT_COMMAND: 'docker port $$(hostname) 9092/tcp | cut -d: -f2'
|
||||
KAFKA_LISTENERS: 'LISTENER_INTERNAL://kafka:29092,LISTENER_HOST://:9092'
|
||||
KAFKA_ADVERTISED_LISTENERS: LISTENER_INTERNAL://kafka:29092,LISTENER_HOST://localhost:_{PORT_COMMAND}
|
||||
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LISTENER_INTERNAL:PLAINTEXT,LISTENER_HOST:PLAINTEXT
|
||||
KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_INTERNAL
|
||||
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
|
||||
KAFKA_CREATE_TOPICS: 'test:1:1'
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
'CMD',
|
||||
'/opt/kafka/bin/kafka-topics.sh',
|
||||
'--list',
|
||||
'--bootstrap-server',
|
||||
'kafka:29092',
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
### kafka-ui
|
||||
kafka-ui:
|
||||
container_name: kafka-ui
|
||||
hostname: kafka-ui
|
||||
image: provectuslabs/kafka-ui:latest
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
networks:
|
||||
- docker-traefik_front_network
|
||||
- back_network
|
||||
depends_on:
|
||||
- zookeeper-kafka
|
||||
- kafka
|
||||
environment:
|
||||
KAFKA_CLUSTERS_0_NAME: local
|
||||
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka:29092
|
||||
KAFKA_CLUSTERS_0_ZOOKEEPER: zookeeper-kafka:2181
|
||||
KAFKA_CLUSTERS_0_JMXPORT: 9997
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=docker-traefik_front_network"
|
||||
# HTTP
|
||||
- "traefik.http.routers.kafka-http.rule=Host(`kafka-ui.10.0.4.29.traefik.me`)"
|
||||
- "traefik.http.routers.kafka-http.entrypoints=http"
|
||||
# HTTPS
|
||||
- "traefik.http.routers.kafka-https.rule=Host(`kafka-ui.10.0.4.29.traefik.me`)"
|
||||
- "traefik.http.routers.kafka-https.entrypoints=https"
|
||||
- "traefik.http.routers.kafka-https.service=kafka-service"
|
||||
- "traefik.http.routers.kafka-https.tls=true"
|
||||
# Middleware
|
||||
# Service
|
||||
- "traefik.http.services.kafka-service.loadbalancer.server.port=8080"
|
30
Data/Kafka/kraft/docker-compose.yml
Normal file
30
Data/Kafka/kraft/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
broker:
|
||||
image: docker.io/bitnami/kafka:latest
|
||||
ports:
|
||||
- "9092:9092"
|
||||
- "9094:9094"
|
||||
environment:
|
||||
- KAFKA_ENABLE_KRAFT=yes
|
||||
- KAFKA_CFG_PROCESS_ROLES=broker,controller
|
||||
- KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
|
||||
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
|
||||
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,EXTERNAL:PLAINTEXT
|
||||
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092,EXTERNAL://kafka_b:9094
|
||||
- KAFKA_BROKER_ID=1
|
||||
- KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=1@127.0.0.1:9093
|
||||
- ALLOW_PLAINTEXT_LISTENER=yes
|
||||
- KAFKA_CFG_NODE_ID=1
|
||||
- KAFKA_AUTO_CREATE_TOPICS_ENABLE=true
|
||||
- BITNAMI_DEBUG=yes
|
||||
- KAFKA_CFG_NUM_PARTITIONS=2
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "kafka-topics.sh --bootstrap-server localhost:9092 --list"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
|
||||
|
3
Data/Kestra/LICENSE
Normal file
3
Data/Kestra/LICENSE
Normal 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.
|
66
Data/Kestra/README.md
Normal file
66
Data/Kestra/README.md
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL :
|
||||
|
||||
# Kestra
|
||||
|
||||
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Kestra
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd Data\Kestra
|
||||
```
|
||||
|
||||
## Modifier la configuration de Kestra
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd Data\Kestra
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Kestra
|
||||
|
||||
Pour utiliser Kestra tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Kestra avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Kestra.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
66
Data/Kestra/docker-compose-traefik.yml
Normal file
66
Data/Kestra/docker-compose-traefik.yml
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL : HHHHH
|
||||
|
||||
# Fichier-Stockage
|
||||
|
||||
GGGGG
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
## Modifier la configuration de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Fichier-Stockage
|
||||
|
||||
Pour utiliser Fichier-Stockage tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Fichier-Stockage avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Fichier-Stockage.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
8
Data/Kestra/docker-compose.yml
Normal file
8
Data/Kestra/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
#### NETWORKS
|
||||
networks:
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
|
||||
#### SERVICES
|
||||
services:
|
22
Data/Kestra/kestra/config/config.yaml
Normal file
22
Data/Kestra/kestra/config/config.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
datasources:
|
||||
postgres:
|
||||
url: jdbc:postgresql://postgres-demo-1:5432/kestra
|
||||
driverClassName: org.postgresql.Driver
|
||||
username: kestra
|
||||
password: k3str4
|
||||
kestra:
|
||||
server:
|
||||
basic-auth:
|
||||
enabled: false
|
||||
repository:
|
||||
type: postgres
|
||||
storage:
|
||||
type: local
|
||||
local:
|
||||
base-path: "/app/storage"
|
||||
queue:
|
||||
type: postgres
|
||||
tasks:
|
||||
tmp-dir:
|
||||
path: /tmp/kestra-wd/tmp
|
||||
url: http://localhost:8080/
|
48
Data/Kestra/kestra/docker-compose.yaml
Normal file
48
Data/Kestra/kestra/docker-compose.yaml
Normal file
@ -0,0 +1,48 @@
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
volumes:
|
||||
kestra-data:
|
||||
driver: local
|
||||
postgres-data:
|
||||
driver: local
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
container_name: postgres-demo-1
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
restart: unless-stopped
|
||||
kestra:
|
||||
image: kestra/kestra:latest-full
|
||||
container_name: kestra-demo-1
|
||||
pull_policy: always
|
||||
entrypoint: /bin/bash
|
||||
user: "root"
|
||||
command:
|
||||
- -c
|
||||
- /app/kestra server standalone --worker-thread=128 -c config.yaml
|
||||
volumes:
|
||||
- kestra-data:/app/storage
|
||||
- ./config/config.yaml:/app/config.yaml:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /tmp/kestra-wd:/tmp/kestra-wd
|
||||
environment:
|
||||
- KESTRA_DOCKERHUB_USERNAME=${KESTRA_DOCKERHUB_USERNAME}
|
||||
- KESTRA_DOCKERHUB_PASSWORD=${KESTRA_DOCKERHUB_PASSWORD}
|
||||
ports:
|
||||
- 8280:8080
|
||||
- 8281:8081
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_started
|
21
Data/Kestra/pipelines/demo/build-docker-1.yaml
Normal file
21
Data/Kestra/pipelines/demo/build-docker-1.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
id: build-docker-1
|
||||
namespace: demo
|
||||
|
||||
tasks:
|
||||
- id: git
|
||||
type: io.kestra.core.tasks.flows.WorkingDirectory
|
||||
tasks:
|
||||
- id: clone
|
||||
type: io.kestra.plugin.git.Clone
|
||||
url: https://github.com/christianlempa/hackbox
|
||||
branch: main
|
||||
|
||||
- id: build
|
||||
type: io.kestra.plugin.docker.Build
|
||||
dockerfile: "src/Dockerfile"
|
||||
tags:
|
||||
- registry.hub.docker.com/xcad2k/hackbox-test:latest
|
||||
push: true
|
||||
credentials:
|
||||
username: "{{ envs.dockerhub_username }}"
|
||||
password: "{{ envs.dockerhub_password }}"
|
30
Data/Kestra/pipelines/demo/build-docker-2.yaml
Normal file
30
Data/Kestra/pipelines/demo/build-docker-2.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
id: build-docker-2
|
||||
namespace: demo
|
||||
|
||||
tasks:
|
||||
- id: directory
|
||||
type: io.kestra.core.tasks.flows.WorkingDirectory
|
||||
tasks:
|
||||
- id: createFiles
|
||||
type: io.kestra.core.tasks.storages.LocalFiles
|
||||
inputs:
|
||||
Dockerfile: |
|
||||
FROM alpine:latest
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN apk add --update python3
|
||||
CMD [ "python", "main.py"]
|
||||
main.py: |
|
||||
if __name__ == "__main__":
|
||||
print("Hello from Docker!")
|
||||
exit(0)
|
||||
|
||||
- id: build
|
||||
type: io.kestra.plugin.docker.Build
|
||||
dockerfile: "Dockerfile"
|
||||
tags:
|
||||
- registry.hub.docker.com/xcad2k/hello-docker:latest
|
||||
push: true
|
||||
credentials:
|
||||
username: "{{ envs.dockerhub_username }}"
|
||||
password: "{{ envs.dockerhub_password }}"
|
9
Data/Metabase/.env
Normal file
9
Data/Metabase/.env
Normal file
@ -0,0 +1,9 @@
|
||||
# Database environment
|
||||
DB_NAME=metabase
|
||||
DB_USER=metabase
|
||||
DB_PASSWORD=password123
|
||||
DB_DATA_DIR=/var/lib/postgresql/data
|
||||
|
||||
# Metabase environment
|
||||
MB_PORT=3000
|
||||
MB_JAVA_TIMEZONE=Asia/Tehran
|
3
Data/Metabase/LICENSE
Normal file
3
Data/Metabase/LICENSE
Normal 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.
|
76
Data/Metabase/README.md
Normal file
76
Data/Metabase/README.md
Normal file
@ -0,0 +1,76 @@
|
||||

|
||||
|
||||
# Metabase
|
||||
|
||||
|
||||
This Docker Compose configuration allows you to set up [Metabase](https://www.metabase.com/) along with a PostgreSQL database.
|
||||
|
||||
## Version
|
||||
|
||||
This configuration is designed for Metabase version 3.9.
|
||||
|
||||
## Services
|
||||
|
||||
### Metabase
|
||||
|
||||
- **Image**: metabase/metabase:latest
|
||||
- **Container Name**: metabase
|
||||
- **Hostname**: metabase
|
||||
- **Volumes**:
|
||||
- `/dev/urandom:/dev/random:ro`
|
||||
- **Ports**:
|
||||
- `3000:3000`
|
||||
- **Environment Variables**:
|
||||
- `MB_DB_TYPE`: postgres
|
||||
- `MB_DB_DBNAME`: metabase
|
||||
- `MB_DB_PORT`: 5432
|
||||
- `MB_DB_USER_FILE`: /run/secrets/db_user
|
||||
- `MB_DB_PASS_FILE`: /run/secrets/db_password
|
||||
- `MB_DB_HOST`: postgres
|
||||
- **Network**: metanet1
|
||||
- **Secrets**:
|
||||
- db_password
|
||||
- db_user
|
||||
- **Healthcheck**:
|
||||
- Test: `curl --fail -I http://localhost:3000/api/health || exit 1`
|
||||
- Interval: 15s
|
||||
- Timeout: 5s
|
||||
- Retries: 5
|
||||
|
||||
### PostgreSQL
|
||||
|
||||
- **Image**: postgres:latest
|
||||
- **Container Name**: postgres
|
||||
- **Hostname**: postgres
|
||||
- **Environment Variables**:
|
||||
- `POSTGRES_USER_FILE`: /run/secrets/db_user
|
||||
- `POSTGRES_DB`: metabase
|
||||
- `POSTGRES_PASSWORD_FILE`: /run/secrets/db_password
|
||||
- **Network**: metanet1
|
||||
- **Secrets**:
|
||||
- db_password
|
||||
- db_user
|
||||
|
||||
## Networks
|
||||
|
||||
- **Name**: metanet1
|
||||
- **Driver**: bridge
|
||||
|
||||
## Secrets
|
||||
|
||||
### db_password
|
||||
|
||||
- **File**: db_password.txt
|
||||
|
||||
### db_user
|
||||
|
||||
- **File**: db_user.txt
|
||||
|
||||
## Usage
|
||||
|
||||
1. Make sure you have Docker and Docker Compose installed on your system.
|
||||
2. Create the `db_password.txt` and `db_user.txt` files with your PostgreSQL password and username, respectively.
|
||||
3. Run the following command to start Metabase and PostgreSQL:
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
1
Data/Metabase/db_password.txt
Normal file
1
Data/Metabase/db_password.txt
Normal file
@ -0,0 +1 @@
|
||||
password123
|
1
Data/Metabase/db_user.txt
Normal file
1
Data/Metabase/db_user.txt
Normal file
@ -0,0 +1 @@
|
||||
metabase
|
66
Data/Metabase/docker-compose-traefik.yml
Normal file
66
Data/Metabase/docker-compose-traefik.yml
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL : HHHHH
|
||||
|
||||
# Fichier-Stockage
|
||||
|
||||
GGGGG
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
## Modifier la configuration de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Fichier-Stockage
|
||||
|
||||
Pour utiliser Fichier-Stockage tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Fichier-Stockage avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Fichier-Stockage.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
48
Data/Metabase/docker-compose.yml
Normal file
48
Data/Metabase/docker-compose.yml
Normal file
@ -0,0 +1,48 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
metabase:
|
||||
image: metabase/metabase:latest
|
||||
container_name: metabase
|
||||
hostname: metabase
|
||||
volumes:
|
||||
- /dev/urandom:/dev/random:ro
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
MB_DB_TYPE: postgres
|
||||
MB_DB_DBNAME: metabase
|
||||
MB_DB_PORT: 5432
|
||||
MB_DB_USER_FILE: /run/secrets/db_user
|
||||
MB_DB_PASS_FILE: /run/secrets/db_password
|
||||
MB_DB_HOST: postgres
|
||||
networks:
|
||||
- metanet1
|
||||
secrets:
|
||||
- db_password
|
||||
- db_user
|
||||
healthcheck:
|
||||
test: curl --fail -I http://localhost:3000/api/health || exit 1
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
container_name: postgres
|
||||
hostname: postgres
|
||||
environment:
|
||||
POSTGRES_USER_FILE: /run/secrets/db_user
|
||||
POSTGRES_DB: metabase
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
|
||||
networks:
|
||||
- metanet1
|
||||
secrets:
|
||||
- db_password
|
||||
- db_user
|
||||
networks:
|
||||
metanet1:
|
||||
driver: bridge
|
||||
secrets:
|
||||
db_password:
|
||||
file: db_password.txt
|
||||
db_user:
|
||||
file: db_user.txt
|
3
Data/RabbitMQ/LICENSE
Normal file
3
Data/RabbitMQ/LICENSE
Normal 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.
|
66
Data/RabbitMQ/README.md
Normal file
66
Data/RabbitMQ/README.md
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL :
|
||||
|
||||
# RabbitMQ
|
||||
|
||||
RabbitMQ est un courtier en messagerie multiprotocole open source. L'utilisation du rabbitmq-server d?marre un noeud RabbitMQ au premier plan.
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de RabbitMQ
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd Data\RabbitMQ
|
||||
```
|
||||
|
||||
## Modifier la configuration de RabbitMQ
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd Data\RabbitMQ
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de RabbitMQ
|
||||
|
||||
Pour utiliser RabbitMQ tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser RabbitMQ avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://RabbitMQ.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
66
Data/RabbitMQ/docker-compose-traefik.yml
Normal file
66
Data/RabbitMQ/docker-compose-traefik.yml
Normal file
@ -0,0 +1,66 @@
|
||||

|
||||
URL : HHHHH
|
||||
|
||||
# Fichier-Stockage
|
||||
|
||||
GGGGG
|
||||
|
||||
# Téléchargement, Configuration et Lancement
|
||||
|
||||
## Téléchargement de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour télécharger la source
|
||||
```bash
|
||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
||||
```
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
## Modifier la configuration de Fichier-Stockage
|
||||
|
||||
Saisir la commande pour vous rendre dans le dossier
|
||||
```bash
|
||||
cd AAAAA\Fichier-Stockage
|
||||
```
|
||||
|
||||
Nous éditons le fichier de configuration
|
||||
```bash
|
||||
nano .env
|
||||
```
|
||||
|
||||
Nous modifions les variables dont nous avons besoin.
|
||||
|
||||
## Lancement de Fichier-Stockage
|
||||
|
||||
Pour utiliser Fichier-Stockage tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Fichier-Stockage avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
Ouvrir une page web avec l'url :
|
||||
Pour une utilisation tout seul
|
||||
|
||||
http://10.0.4.29:3000
|
||||
|
||||
Pour une utilisation avec Traefik
|
||||
|
||||
https://Fichier-Stockage.10.0.4.29.traefik.me`)"
|
||||
|
||||
|
||||
# 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>
|
16
Data/RabbitMQ/docker-compose.yml
Normal file
16
Data/RabbitMQ/docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
rabbitmq:
|
||||
image: rabbitmq:3.7-management
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "rabbitmqctl status" ]
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
ports:
|
||||
- "15672:15672"
|
||||
- "5672:5672"
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: "guest"
|
||||
RABBITMQ_DEFAULT_PASS: "guest"
|
BIN
Data/RabbitMQ/img/banniere-RabbitMQ.png
Normal file
BIN
Data/RabbitMQ/img/banniere-RabbitMQ.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
Data/RabbitMQ/img/logo-RabbitMQ.png
Normal file
BIN
Data/RabbitMQ/img/logo-RabbitMQ.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 516 B |
Reference in New Issue
Block a user