{"id":17683187,"url":"https://github.com/nemanjam/traefik-proxy","last_synced_at":"2025-05-12T21:14:14.453Z","repository":{"id":44398492,"uuid":"445257640","full_name":"nemanjam/traefik-proxy","owner":"nemanjam","description":"Production deployment for nextjs-prisma-boilerplate app.","archived":false,"fork":false,"pushed_at":"2025-05-02T13:47:25.000Z","size":3456,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-12T21:13:58.134Z","etag":null,"topics":["deployment","docker","docker-compose","letsencrypt","traefik"],"latest_commit_sha":null,"homepage":"https://github.com/nemanjam/nextjs-prisma-boilerplate","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nemanjam.png","metadata":{"files":{"readme":"README-local.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-01-06T17:39:35.000Z","updated_at":"2025-05-02T13:47:29.000Z","dependencies_parsed_at":"2024-06-02T10:28:03.493Z","dependency_job_id":"3940c751-e5aa-41e4-85a1-9af202e0c673","html_url":"https://github.com/nemanjam/traefik-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Ftraefik-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Ftraefik-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Ftraefik-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Ftraefik-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nemanjam","download_url":"https://codeload.github.com/nemanjam/traefik-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253823464,"owners_count":21969848,"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":["deployment","docker","docker-compose","letsencrypt","traefik"],"created_at":"2024-10-24T09:44:37.244Z","updated_at":"2025-05-12T21:14:14.427Z","avatar_url":"https://github.com/nemanjam.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"1. clone\n2. set public key and token in `rathole.client.toml`\n3. create `.env` file and fill in vars\n\n```bash\ncp .env.example .env\n\n```\n\n4. acme.json create and chmod\n\n```bash\ntouch ~/homelab/traefik-proxy/core/traefik-data/acme.json\n\nsudo chmod 600 ~/homelab/traefik-proxy/core/traefik-data/acme.json\n```\n\n5. create proxy network\n\n```bash\ndocker network create proxy\n```\n6. run containers\n\n```bash\n# up must be at end\n\ndocker compose -f docker-compose.local.yml up -d\n```\n\n6. uncomment staging certificate, must clear contents of old acme.json\n\n```bash\ntruncate -s 0 acme.json\n```\n\n## For OrangePi, the only difference\n\n```yaml\n# docker-compose.local.yml\n\n# doesn't exist image for arm, build it\nrathole:\n    # image: rapiz1/rathole:v0.5.0\n    build: https://github.com/rapiz1/rathole.git#main\n    platform: linux/arm64\n\n# set platform, not necessary\ntraefik:\n    image: 'traefik:v2.9.8'\n    platform: linux/arm64\n\nportainer:\n    image: 'portainer/portainer-ce'\n    platform: linux/arm64\n\n```\n#### Always start with staging Acme server and change on success\n\n```yaml\n# core/traefik-data/traefik.yml\n\ncertificatesResolvers:\n  letsencrypt:\n    acme:\n      # always start with staging certificate\n      caServer: \"https://acme-staging-v02.api.letsencrypt.org/directory\"\n      # caServer: 'https://acme-v02.api.letsencrypt.org/directory'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemanjam%2Ftraefik-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnemanjam%2Ftraefik-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemanjam%2Ftraefik-proxy/lists"}