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.
This project focuses on system administration using Docker, requiring students to set up a small infrastructure composed of different services under specific rules. The main goal is to run multiple services using Docker Compose, including NGINX with TLSv1.2 or TLSv1.3, WordPress + php-fpm, and MariaDB.
- Set up three Docker containers that run NGINX, WordPress, and MariaDB
- Configure containers to restart on failure
- Use Docker volumes for the WordPress database and website files
- Set up a Docker network to establish connection between containers
- Use environment variables through .env file
- Configure NGINX with TLS 1.2 or TLS 1.3
- Set up WordPress with php-fpm
- Ensure data persistence through volumes
- Redis cache for WordPress
- FTP server
- Adminer
- Ollama (Choosen service)
- AI Chat interface (Static website)
Inception Chat |
Adminer |
- Docker and container orchestration
- System administration
- Network configuration
- Security implementation (TLS)
- Database management
- Environment variable usage
- Service configuration
- Docker Compose
- Virtual machine management
- Docker
- OpenSSL
sudo echo "127.0.0.1 deydoux.42.fr" >> /etc/hosts
make # Start attached
make up # Start detached
URLs
- WordPress
- WordPress Admin
- Password generated for
root
user insecrets/password_wordpress_root.txt
- Password generated for
- Adminer file
- Password generated for
root
user atmariadb
host insecrets/password_db_root.txt
file
- Password generated for
- Inception Chat
make down
make clean # Remove images and volumes