Skip to content

Instantly share code, notes, and snippets.

@gordonjcp
Created March 21, 2021 20:31
Show Gist options
  • Save gordonjcp/09a19783945b3684644ac9e80b1e4c07 to your computer and use it in GitHub Desktop.
Save gordonjcp/09a19783945b3684644ac9e80b1e4c07 to your computer and use it in GitHub Desktop.
version: '3.0'
services:
web:
labels:
- traefik.enable=true
- traefik.http.routers.forum.rule=Host(`forum.gjcp.net`)
- traefik.http.routers.forum.entrypoints=websecure
- traefik.http.routers.forum.tls.certresolver=le
- traefik.docker.network=proxy
networks:
proxy:
default:
flaskbb:
command: gunicorn -w 4 -b 0.0.0.0:5000 wsgi:flaskbb --pid gunicorn.pid
networks:
default:
networks:
proxy:
external:
name: proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment