Sign inSign up

g78101/url-server

By g78101

•Updated over 4 years ago

Image
0

963

g78101/url-server repository overview

⁠Introduction

The url-server is a python http server. It's using mysql to save url. (default data count: 8304)

  1. default run HTTPSServer.py daemon (/source/HTTPSServer.py)

  2. mysql info:
      user:root
      password:root
      database:data
      table:BeautyURL

  3. you can add url by running parsingBeauty.py (/source/parsingBeauty.py).

⁠How to run container

⁠command:

docker run --name url-server -p {HOST-PORT}:80 -d g78101/url-server

⁠example:

docker run --name url-server -p 9487:80 -d g78101/url-server
(waiting a minute)
curl 127.0.0.1:9487
outout:http://i.imgur.com/*.jpg⁠

Tag summary

Content type

Image

Digest

Size

188.4 MB

Last updated

over 4 years ago

docker pull g78101/url-server