Skip to content

My first Web Server with Docker. LEMP development (Linux, Nginx, MySql, Php)

Notifications You must be signed in to change notification settings

xibaochat/ft_server

Repository files navigation

 

ft_server

 

My first Web Server with Docker. LEMP development (Linux, Nginx, MySql, Php) The goal of ft_server is to create a web server with Nginx capable of running a WordPress website, phpMyAdmin and a MySQL database. This server will run in only one Dockek container, under Debian Buster.

 

final mark

interest number of team difficulty
⭐⭐⭐⭐ 🐱 ⭐⭐⭐

Subject

en.subject.pdf

Instructions 👈

🔧 Installation

git clone https://github.com/xibaochat/ft_server.git && cd ft_server

📦 Content

  • Dockerfile (contains the instructions for building the webserver's docker image)

  • srcs/ (contains configs and some bash scripts)

🔨 Build Docker image

docker build -t ft_server .

🏃 Run a container

docker run --name ft_server -d -p 443:443 -p 80:80 ft_server

🐚 Shell acces to the container

docker exec -it ft_server bash
Services Path image
WordPress http:localhost/wordpress homepage
phpMyAdmin http:localhost/phpmyadmin phomyadmin

About

My first Web Server with Docker. LEMP development (Linux, Nginx, MySql, Php)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published