https://github.com/khammerschmidt/inception-42corecurriculum
Setting up a small infrastructure with docker
https://github.com/khammerschmidt/inception-42corecurriculum
docker docker-compose dockerfiles dockernetwork mariadb nginx php wordpress wordpress-site
Last synced: 5 months ago
JSON representation
Setting up a small infrastructure with docker
- Host: GitHub
- URL: https://github.com/khammerschmidt/inception-42corecurriculum
- Owner: KHammerschmidt
- Created: 2022-09-05T07:38:57.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-13T20:21:12.000Z (over 3 years ago)
- Last Synced: 2025-04-07T08:42:01.541Z (about 1 year ago)
- Topics: docker, docker-compose, dockerfiles, dockernetwork, mariadb, nginx, php, wordpress, wordpress-site
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Inception
System Administration related exercise of 42 Heilbronn core curriculum.
Task: Setting up a small infrastructure composed of different services under specific rules.
Virtualize several Docker images in a personal virtual machine.
- Set up: a Docker container that contains NGINX with TLSv1.2 or TLSV1.3 only;
a Docker container that contains WordPress + php-fpm, installed & configured without nginx;
a Docker container that contains MariaDB, without nginx;
a volume that contains WordPress database and one that contains WordPress website files;
a docker-network that established a connection between the containers
- Domain name has to point to local IP address.
Rules:
- Containers must be built from penultimate stable version of Debian Buster
- The NGINX container must be the only entrypoint into the infrastructure via port 443 only
- One Dockerfile per service has to be written, ready-made Docker images are not allowed
- It is mandatory to use environment variables
Example of the expected result
