{"id":20574675,"url":"https://github.com/llefranc/42_ft_server","last_synced_at":"2026-05-05T18:37:17.946Z","repository":{"id":151135483,"uuid":"255333047","full_name":"llefranc/42_ft_server","owner":"llefranc","description":"School project: set up a web server using Docker.","archived":false,"fork":false,"pushed_at":"2021-04-07T10:12:50.000Z","size":1322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T21:40:29.444Z","etag":null,"topics":["42","42born2code","42paris","42school","debian","docker","ft-server","ftserver"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/llefranc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-13T13:20:04.000Z","updated_at":"2021-07-08T10:30:37.000Z","dependencies_parsed_at":"2024-03-09T06:00:30.447Z","dependency_job_id":null,"html_url":"https://github.com/llefranc/42_ft_server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/llefranc","download_url":"https://codeload.github.com/llefranc/42_ft_server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242196013,"owners_count":20087761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["42","42born2code","42paris","42school","debian","docker","ft-server","ftserver"],"created_at":"2024-11-16T05:36:38.186Z","updated_at":"2025-10-20T03:59:53.435Z","avatar_url":"https://github.com/llefranc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ft_server (@42Paris)\n\n\"This is a System Administration subject. You will discover Docker and you will set up your first web server\"\n\n![Alt text](https://github.com/lucaslefrancq/42_ft_server/blob/master/ft_server_example.png)\n\n## About\n\nFt_server is a project of the mandatory part of the cursus.\nIt's about using docker and setting up some services to run a website.\nWe had to create our own Dockerfile on Debian, and setup the configuration for\neach services running in localhost.\n\n- The different services are :\n    - A web server (Nginx) that can be access in http / https\n\t- Phpmyadmin\n    - Wordpress\n    - Mysql\n\n- Here is the [subject][1]\n\n`Requirement for running this project : Docker`\n\n### Building and running the project\n\n1. Install [Docker][2]\n\n2. Download/Clone this repo\n\n        git clone https://github.com/lucaslefrancq/42_ft_server.git\n\n2. `cd` into the root directory, and build the `Dockerfile`. Then run the docker image built.\n\tYou have to map port 80 and 443 from docker container to the localhost using `-p` option (i'm mapping them to the same port on localhost, but you can choose any ports according your preferences and which ports your computer is using).\n\n        cd 42_ft_server\n        docker build -t ft_serv_img .\n\t\tdocker run -p 80:80 -p 443:443 ft_serv_img\n\n3.  Access the different services with http:localhost/service with your browser, or use docker exec -ti\n\tcommand to enter inside the docker container and see the different config files.\n\n        docker exec -it \"container id\" /bin/sh\n\n## Sources\n\n- [Full tutorial for Docker][3]\n- [Tutoriel Docker (FR)][4]\n- [Un autre tutoriel Docker (FR)][8]\n- [Understanding how Wordpress works with Mysql][5]\n- [Dockerfile syntax][6]\n- [Comprendre le fonctionnement d'un serveur web (FR)][7]\n\n[1]: https://github.com/lucaslefrancq/42_ft_server/blob/master/ft_server.en.subject.pdf\n[2]: https://docs.docker.com/get-docker/\n[3]: https://www.youtube.com/watch?v=jPdIRX6q4jA\u0026list=PLy7NrYWoggjzfAHlUusx2wuDwfCrmJYcs\u0026ab_channel=TechWorldwithNana\n[4]: https://www.wanadev.fr/23-tuto-docker-comprendre-docker-partie1/\n[5]: https://premium.wpmudev.org/blog/mysql-databases/\n[6]: https://docs.docker.com/engine/reference/builder/\n[7]: https://www.youtube.com/watch?v=msB9AvJ4bTM\u0026ab_channel=Cookieconnect%C3%A9\n[8]: https://devopssec.fr/article/differences-virtualisation-et-conteneurisation","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllefranc%2F42_ft_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllefranc%2F42_ft_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllefranc%2F42_ft_server/lists"}