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 |
|
git clone https://github.com/xibaochat/ft_server.git && cd ft_server
-
Dockerfile
(contains the instructions for building the webserver's docker image) -
srcs/
(contains configs and some bash scripts)
docker build -t ft_server .
docker run --name ft_server -d -p 443:443 -p 80:80 ft_server
docker exec -it ft_server bash
Services | Path | image |
---|---|---|
WordPress | http:localhost/wordpress |
|
phpMyAdmin | http:localhost/phpmyadmin |