A lightweight, self-hosted paste platform
services: ... ports: - 3003:3000/tcp networks: - traefik_default labels: - "traefik.enable=true" - "traefik.http.routers.x.rule=Host(`x.yourethe.top`)" - "traefik.http.routers.x.service=x"
from flask import Flask app = Flask(__name__) @app.route('/') def index(): return '<h1>Hello World!</h1>'