Skip to content

Latest commit

 

History

History
106 lines (69 loc) · 3.24 KB

README.md

File metadata and controls

106 lines (69 loc) · 3.24 KB

ft_server_42

- Run those 2 commands whe everything is ready

To build your image from your Dockerfile first:

docker build -t <path to ft_server dir> .
-t (tag) to specify the name of the image. Being the first part your name/then the image name
. (dot) to specify the directory where docker build should be looking for a Dockerfile

To run your image, creating you container from it:

docker run -it -p 80:80 -p 443:443 ft_server
-d (detach) runs in the background
-p (publish) publish a container's port(s) to the host

For interactive processes (like a shell), you must use -i -t together in order to allocate a tty for the container process.

-i -t is often written -it.

-i (interactive) keep STDIN open even if not attached
-t (tty) allocate a pseudo-tty (pseudo-teletype (emulated in software))

Notes - Notion

ft_server 42 subject

Autoindex


Tutorials

How To Install Linux, Nginx, MariaDB, PHP (LEMP stack) on Debian 10


Docker

Dockerfile tutorial

Get Docker Engine - Community for Debian

Docker docs


SSL

Creating a Self-Signed SSL Certificate

Créer et Installer un certificat SSL sous NGinx

How To Create a Self-Signed SSL Cert for Nginx on Debian 10


Nginx

Nginx documentation

Nginx download

Nginx - Web Server


phpMyAdmin

How To Install phpMyAdmin with Nginx on Debian 10

How To Install phpMyAdmin From Source on Debian 10


WordPress

How To Install WordPress with LEMP (Nginx, MariaDB and PHP) on Debian 10


Debian

Configuring Apt Sources (if needed)

Debian GNU/Linux Installation Guide (just for reading and knowlegment)