Skip to content

Ramblec/docker-compose-http2-apache-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What this is

Docker compose HTTP2 Apache Flask

port 80 is set to redirect.

Usage

  1. $ git clone https://github.com/Ramblec/docker-compose-http2-apache-flask.git
  2. $ cd docker-compose-http2-apache-flask
  3. make KEY certification file and CRT certification file and change the two files(/ssl/server.key & /ssl/serve.crt)
  4. change the content file(/app/main.py) if you need
  5. $ docker compose up
    [If the configuration file does not mount properly]
    comment out the line of mounting configuration file in "docker-compose.yml"
    $ docker compose up -d
    $ docker cp / :/usr/local/apache2/conf/httpd.conf
    $ docker exec -it apache-1 apachectl -k restart
    $ docker compose restart

Tutorial

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published