About | Features | Technologies | Requirements | Starting | License | Author
This project consists in a small infrastructure composed of different
services under specific rules using docker compose.
To export backup.sql from db container:
docker exec -it <mariadb_container_name> /bin/bash
mysqldump -u <user> -p <password> <db_name> > backup.sql
docker cp <mariadb_container_name>:/backup.sql /path/to/your/project/
• A Docker container that contains NGINX with TLSv1.2 or TLSv1.3 only.
• A Docker container that contains WordPress + php-fpm (it must be installed and
configured) only without nginx.
• A Docker container that contains MariaDB only without nginx.
• A volume that contains WordPress database.
• A second volume that contains WordPress website files.
• A docker-network that establishes the connection between containers.
The following tools were used in this project:
Before starting, you need to have Git and Docker installed.
# Clone this project
git clone https://github.com/anolivei/Inception42
# Access
cd Inception42
# Run the project
make
# The server will initialize in the <https://anolivei.42.fr>
# To stop the project
make down
# To clean images and volumes
make clean
# To prune volumes, remove local data volume and restore the /etc/hosts
make fclean
This project is under license from MIT. For more details, see the LICENSE file.