Skip to content

joao-per/Inception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🐳 Inception 🐳

"Dockerizing Dreams, One Container at a Time!" - Lebron James πŸ€

Inception

Overview 🌟

Inception is a robust project designed to create a fully dockerized web environment. Leveraging Docker's power, we set up a stack with Nginx, WordPress, and MariaDB, each in separate containers for optimized performance and scalability. πŸ³πŸ’»

Technical Features πŸ› οΈ

  • MariaDB Container: Includes mariadb-server for robust data management. A custom script (maria.sh) initializes the database. πŸ—ƒοΈ
  • Nginx Container: Installs nginx and openssl for secure web serving, with SSL certificates generated on-the-fly. Custom Nginx configuration is provided via nginx.conf. πŸŒπŸ”’
  • WordPress Container: This container includes PHP and its extensions, alongside wp-cli for WordPress management. A specific script (wp_conf.sh) configures and launches WordPress. πŸ“

Installation and Setup πŸ“ˆ

  1. Clone the repository: git clone https://github.com/joao-per/Inception.git
  2. Change localhost to joao-per.42.fr in /etc/hosts file
  3. Build and launch the containers: docker-compose up --build
  4. Access the website at: https://joao-per.42.fr

Configuration Files πŸ“

  • MariaDB: Configured through maria.sh, initializing the database system.
  • Nginx: nginx_config.conf sets up SSL and reverse proxy to WordPress.
  • WordPress: wp_conf.sh downloads, configures, and installs WordPress with predefined environment variables.

Usage Tips πŸ’‘

  • Ensure Docker and Docker Compose are installed on your system.
  • Modify environment variables in .env file for custom configuration.
  • Access container logs for debugging: docker logs <container-name>
  • Access container shell for debugging: docker exec -it <container-name> /bin/bash

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors