Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inception

Github top language Github language count Repository size License

About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


About

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/

Features

• 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.

Technologies

The following tools were used in this project:

Requirements

Before starting, you need to have Git and Docker installed.

Starting

# 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

inception

License

This project is under license from MIT. For more details, see the LICENSE file.

Gh_philosophers

 

Back to top

About

A System Administration related exercise

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages