{"id":20696091,"url":"https://github.com/haliphax/traefik-jamstack-example","last_synced_at":"2025-12-30T21:31:39.173Z","repository":{"id":61785070,"uuid":"555180598","full_name":"haliphax/traefik-jamstack-example","owner":"haliphax","description":"Supercharged JAM stack example architecture using Traefik","archived":false,"fork":false,"pushed_at":"2022-10-26T19:47:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T18:19:55.603Z","etag":null,"topics":["flask","jamstack","javascript","nginx","python","static","traefik"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haliphax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-21T04:53:51.000Z","updated_at":"2022-10-21T04:58:33.000Z","dependencies_parsed_at":"2023-01-20T13:46:58.777Z","dependency_job_id":null,"html_url":"https://github.com/haliphax/traefik-jamstack-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Ftraefik-jamstack-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Ftraefik-jamstack-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Ftraefik-jamstack-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haliphax%2Ftraefik-jamstack-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haliphax","download_url":"https://codeload.github.com/haliphax/traefik-jamstack-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242961755,"owners_count":20213315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","jamstack","javascript","nginx","python","static","traefik"],"created_at":"2024-11-17T00:12:34.644Z","updated_at":"2025-12-30T21:31:39.136Z","avatar_url":"https://github.com/haliphax.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traefik JAM stack example configuration\n\nThis repository contains an example configuration for a [JAM stack][]\napplication suite which is being load-balanced behind a single endpoint using\n[Traefik][].\n\nThe stack is built with [docker-compose][], and includes the following\nservices:\n\n- `traefik` - Traefik proxy service\n- `webapi` - Dynamic web application\n- `webstatic` - Nginx server for static files\n\n# Services\n\n## Traefik\n\nThe traefik proxy service is responsible for handling HTTP requests and passing\nthem to the appropriate downstream service. The downstream services are\n[detected automatically][] through docker labels.\n\n## Web API\n\nThe API service is written in Python using the [Flask][] web framework, but\nonly exists to serve as an example. Any server-side web application could be\nused in its place.\n\nWeb requests whose responses need to be dynamically generated are handled by\nthis service.\n\n## Static web server\n\nThis static web service is using [nginx][] under the hood, but could just as\neasily use something more familiar to you (e.g. caddy, lighttpd, etc.).\n\nWeb requests whose responses are static (HTML, CSS, JS, images, etc.) are\nhandled by this service, relieving the web API of this responsibility and\nmanaging it with a much more capable application.\n\n\n[Traefik]: https://traefik.io/\n[JAM stack]: https://jamstack.org/\n[docker-compose]: https://docs.docker.com/compose/\n[detected automatically]: https://doc.traefik.io/traefik/providers/docker/#routing-configuration-with-labels\n[Flask]: https://flask.palletsprojects.com/\n[nginx]: https://nginx.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaliphax%2Ftraefik-jamstack-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaliphax%2Ftraefik-jamstack-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaliphax%2Ftraefik-jamstack-example/lists"}