Skip to content

42_Project: ft_server (new curriculum). The aim of the project is to learn automation, the "docker" technology and use it to install a complete web server. This server will run multiple services: Wordpress, phpMyAdmin, and a SQL database.

Notifications You must be signed in to change notification settings

khodizoda/42_ft_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

42_Project: ft_server (new curriculum). The aim of the project is to learn automation, the "docker" technology and use it to install a complete web server. This server will run multiples services: Wordpress, phpMyAdmin, and a SQL database.

Usage


# build image from the Dockerfile
docker build . -t <img_name>

# run container using built image
docker run --name <container_name> -p 80:80 -p 443:443 -d <img_name>

# enter container's interactive mode
docker exec -it <container_name> /bin/bash

# enable autoindex
docker exec -t <container_name> /bin/bash enable_autoindex.sh

# disable autoindex
docker exec -t <container_name> /bin/bash disable_autoindex.sh

# stop and remove container
docker stop <container_name> && docker rm <container_name>

# remove image
docker rmi <image_name>

RESOURCES

SSL

AUTOINDEX

LEMP Stack on debian:buster

About

42_Project: ft_server (new curriculum). The aim of the project is to learn automation, the "docker" technology and use it to install a complete web server. This server will run multiple services: Wordpress, phpMyAdmin, and a SQL database.

Topics

Resources

Stars

Watchers

Forks