{"id":22217759,"url":"https://github.com/pixelcollective/traefik-ify","last_synced_at":"2025-07-15T07:07:02.800Z","repository":{"id":55122887,"uuid":"164069185","full_name":"pixelcollective/traefik-ify","owner":"pixelcollective","description":"Drop-in, zero-fuss, lightning-fast development environment for Roots/Bedrock.","archived":false,"fork":false,"pushed_at":"2023-12-15T05:52:41.000Z","size":44,"stargazers_count":20,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T04:17:19.224Z","etag":null,"topics":["bedrock","docker","roots-io","traefik","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/pixelcollective.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-04T06:44:10.000Z","updated_at":"2022-03-18T18:59:35.000Z","dependencies_parsed_at":"2022-08-14T12:40:38.882Z","dependency_job_id":null,"html_url":"https://github.com/pixelcollective/traefik-ify","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/pixelcollective%2Ftraefik-ify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelcollective%2Ftraefik-ify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelcollective%2Ftraefik-ify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelcollective%2Ftraefik-ify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelcollective","download_url":"https://codeload.github.com/pixelcollective/traefik-ify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227810235,"owners_count":17823177,"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":["bedrock","docker","roots-io","traefik","wordpress"],"created_at":"2024-12-02T22:17:49.486Z","updated_at":"2024-12-02T22:17:52.382Z","avatar_url":"https://github.com/pixelcollective.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traefik-ify\n\n[![Roots](https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/roots/roots-example-project.com/master/site/composer.json?token=R2l0SHViIFRva2VuIEdvZXMgSGVyZQ==\u0026label=wordpress\u0026logo=roots\u0026logoColor=white\u0026query=$.require[\"roots/wordpress\"]\u0026colorB=2b3072\u0026colorA=525ddc)](//roots.io) ![Docker](https://img.shields.io/badge/docker-rules-blue.svg) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/3e0216bab8504573b62ce72b4441c2e2)](https://www.codacy.com/app/pixelcollective/traefik-ify?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=pixelcollective/traefik-ify\u0026amp;utm_campaign=Badge_Grade) [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com) [![Gitter](https://img.shields.io/badge/chat-on%20gitter-purple.svg)](https://gitter.im/Tiny-Pixel/Traefik-ify?utm_source=share-link\u0026utm_medium=link\u0026utm_campaign=share-link) \n\n\u003e Easily add Traefik and Docker support to your roots/bedrock project. It's great! It's super easy to do! Nothing to lose (except some port conflicts!)\n\nAnd it's basically non-destructive for an existing Trellis setup. Dank.\n\nMy Docker VMs now start up in less than ten seconds. They take up a fraction of the harddrive space. They use a completely negligible amount of RAM.\n\n## Requirements\n\n1. Docker\n2. Docker-compose\n\n## Try it out\n\nThe following assumes you are running [Bedrock](https://github.com/roots/bedrock) in a local environment.\n\nRun the following commands from the `traefik` directory:\n\n1. `docker network create traefikify`\n2. `docker-compose up -d`\n\nRun the following commands from the `example.com` directory:\n\n1. `composer install`\n2. `mv env.example .env`\n3. `docker-compose up -d`\n\nYou will then need to add `example.test` to `/etc/hosts`, or however you manage your virtual hosts.\n\nThe WordPress installation screen should be available at `example.test`. Additionally, you can monitor traefik at `localhost`.\n\n## Add to existing install\n\nThe `mixins` directory contains everything you need. You should be able to more-or-less just drop those files in and get to work, but read on:\n\n1. Copy `./config/docker/` to your `config` directory.\n2. Copy `./Dockerfile` to bedrock root.\n3. Copy `./docker-compose.yml` to bedrock root.\n4. Add `database` to your `.gitignore` 🙀\n5. Make sure the variables in the traefik-ify `env.example` are included in your existing `.env`. It should look something like this:\n\n``` env\nWP_ENV=development\nDOMAIN_CURRENT_SITE=example.test\nWP_HOME=http://example.test\nWP_SITEURL=http://example.test/wp\nDB_NAME=example_test_development\nDB_USER=example_test\nDB_PASSWORD=example_test\n```\n\n## Party\n\nYou should be good to execute `docker-compose up` from `traefik`, then your Bedrock root. You'll notice the database mounts to a directory in Bedrock. You can change this behavior (and lots of other things) in `docker-compose.yml`.\n\n## Credits\n\n* [roots/bedrock](https://github.com/roots/bedrock)\n* [austinpray/bedrock-testbed](https://github.com/austinpray/bedrock-testbed)\n* [saturate/traefik-wordpress](https://github.com/Saturate/traefik-wordpress)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelcollective%2Ftraefik-ify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelcollective%2Ftraefik-ify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelcollective%2Ftraefik-ify/lists"}