Code Monkey home page Code Monkey logo

hosted_ft_server's Introduction

hosted_ft_server

A ready-to-host Docker-based NGINX/MariaDB/WordPress stack with a Let's Encrypt certificate generation and phpMyAdmin included.

The SSL certificate is generated automatically when starting the container. No automatic renewal is implemented for now (WIP).

Every non-HTTPS request is 301-forwarded to its HTTPS equivalent.

By default, the NGINX autoindex is activated. When trying to serve a folder that doesn't contain an index.php file in it, the default behaviour is then to list the content of the folder. If the autoindex is disabled, an error 403 will be served instead. You can disable it by passing -e AUTOINDEX=0 as an argument of docker run when launching the container.

INSTALLATION

Make sure to replace :

  • the email and domain name placeholders in the Dockerfile,
  • the 2 domain name placeholders in the srcs/wp NGINX config file,
  • the MySQL root password placeholder in the srcs/init.sql file.

Then just :

  • build the image with docker build -t <chosen_image_name> <path_to_root_of_this_repo>,
  • and run it in detached mode with docker run --name <chosen_container_name> -p 80:80 -p 443:443 -d <previously_chosen_image_name>

hosted_ft_server's People

Contributors

rgilles42 avatar

Watchers

 avatar

Forkers

simhaonline

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.