Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magnitopic/inception
This project aims to broaden your knowledge of system administration by using Docker. You virtualize several Docker images, one for each service, inside of a virtual machine
https://github.com/magnitopic/inception
42inception 42network 42school docker docker-compose inception mariadb nginx nginx-php-fpm php-fpm virtual-machine wordpress wordpress-cli
Last synced: 16 days ago
JSON representation
This project aims to broaden your knowledge of system administration by using Docker. You virtualize several Docker images, one for each service, inside of a virtual machine
- Host: GitHub
- URL: https://github.com/magnitopic/inception
- Owner: magnitopic
- Created: 2024-03-04T10:19:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-06T18:53:31.000Z (10 months ago)
- Last Synced: 2024-11-18T13:29:15.578Z (3 months ago)
- Topics: 42inception, 42network, 42school, docker, docker-compose, inception, mariadb, nginx, nginx-php-fpm, php-fpm, virtual-machine, wordpress, wordpress-cli
- Language: Shell
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Inception
This project aims to broaden your knowledge of system administration by using Docker. You will virtualize several Docker images, creating them in your new personal virtual machine.
## Commands
Start the containers โ
```bash
make
```Stop the containers ๐ด
```bash
make stop
```Remove the containers ๐๏ธ
```bash
make clean
```Delete images, volumes and networks ๐งน
```bash
make fclean
```Restart the containers ๐
```bash
make re
```## Webpage
Once the containers are up and running, you can access the webpage by going to [https://localhost:443](https://localhost:443).
## Containers
This project has you setting up several containers with a service in each one that come together to serve a Wordpress website.
The three containers that are setup are:
- Nginx: Uses it's [CGI](https://en.wikipedia.org/wiki/Common_Gateway_Interface) capability to execute and request from the Wordpress container the pages it will later respond with to the client. It's the only container that has external ports.
- Wordpress: Using PHP-FPM and wordpress is used to deliver the content to the client.
- MariaDB: A MariaDB database is used to store the data generated by Wordpress
A common network is created for the three containers to communicate with each other.
And two volumes are created, one for the Wordpress container to store the data and another for the MariaDB container to store the database.