- First, git clone the project:
git clone https://github.com/panda2742/42-Inception
cd 42-Inception- Then, generate secrets/env:
make secretsIt will generate automatically and securely required secrets and environment variables.
- Once the Installation steps are done, build and wait for the whole project to be built:
make all- Stopping the containers:
make down- Enabling the containers:
make up- Build the project:
make all- Stopping the containers:
make down- Enabling the containers:
make upCleaning commands:
make down: just shuts down the project.make clean:down+ stop containers, remove containers, images and networks.make fclean:clean+ remove volumes (from daemon and file system).make verydangerousrule:fclean+ delete secrets and prune system cache.
There are the different folders related to the volumes/data:
- MariaDB: /home/ehosta/data/mariadb
- WordPress: /home/ehosta/data/wordpress
- Adminer: /home/ehosta/data/adminer
- Wondercat: /home/ehosta/data/wondercat
- Prometheus: /home/ehosta/data/prometheus
- Grafana: /home/ehosta/data/grafana