Skip to content

Docker container

TenteEEEE edited this page Aug 28, 2019 · 1 revision

You can pull the docker container from Docker Hub.
It hosts a REST API of the pantie patcher on port 5000 (default).
Please run on your favorite web server (e.g. Nginx, or Apache).

Example of docker-compose.yml

version: "3"
services:
  app:
    image: tenteeeeee/pantie_patch:latest
    ports:
      - "9999:5000"
    # When you want to override the default setup, modify the following command
    # command: gunicorn --bind 0.0.0.0:5000 restapi:app

Reverse proxy setup on Nginx configuration file

Modify /etc/nginx/sites-available/default

# Your setup ~~~
location /api/{
    proxy_pass http://127.0.0.1:9999/api/;
}
# Your setup ~~~

Clone this wiki locally