{"id":17689169,"url":"https://github.com/othyn/tastyigniter-docker-testing","last_synced_at":"2026-01-11T13:00:15.982Z","repository":{"id":84632894,"uuid":"437330033","full_name":"othyn/tastyigniter-docker-testing","owner":"othyn","description":"Handy repo for testing TastyIgniter with Docker \u0026 Docker Compose","archived":false,"fork":false,"pushed_at":"2021-12-11T16:42:27.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T02:19:30.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/othyn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-12-11T16:17:29.000Z","updated_at":"2021-12-11T16:42:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ca2fd2c-381c-4d6a-a95d-f16e5b7a97a9","html_url":"https://github.com/othyn/tastyigniter-docker-testing","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/othyn%2Ftastyigniter-docker-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othyn%2Ftastyigniter-docker-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othyn%2Ftastyigniter-docker-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othyn%2Ftastyigniter-docker-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/othyn","download_url":"https://codeload.github.com/othyn/tastyigniter-docker-testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246385410,"owners_count":20768668,"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":[],"created_at":"2024-10-24T11:46:46.390Z","updated_at":"2025-03-30T21:44:13.289Z","avatar_url":"https://github.com/othyn.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tasty Igniter - Docker Testing\n\nA simple and easy Docker testing environment for [TastyIgniter](https://github.com/tastyigniter/TastyIgniter).\n\n## NOTE ON A REQUIRED CHANGE\n\nOnce my PR for unattended installation is merged into main, this repo can be significantly changed so that the build of\nTastyIgniter can be placed into the Dockerfile itself.\n\n## Setup\n\nEnsure that you are happy with any defaults in `.env.example`, then simply run:\n\n```sh\nmake setup\n```\n\nThis will;\n\n- Create a working copy of `.env.example` to `.env`\n- Build a set of images for the repo via Docker Compose\n- Bring up the detached containers\n- Run the TastyIgniter CLI installation wizard\n  - Unfortunately it **does not** have a non-interactive mode otherwise I'd automated this as part of the container build step\n    - I need to submit a PR against [TastyIgniter](https://github.com/tastyigniter/TastyIgniter) for this!\n    - This should be an easy addition\n  - Choose 'yes' to generate the app key in prod, its a limitation of TastyIgniter's fixed env\n  - During installation remember to set the database host to the container name, which by default is `ti-docker-testing-database`\n  - Provide the information as requested, passing in `.env` variables set. I usually just mash enter\n    - ...with the only exception being adding `tasty` (or whatever you set the `.env` variables to) when passing in the database, username and password\n    - ...also make sure not to skip over adding yourself to admin groups, otherwise you're locked out of everything!\n  - Then head to [http://localhost/admin/login](http://localhost/admin/login) to get started!\n\n### Setup for a local development version of TastyIgniter\n\nIf you're working from a local git development version of TastyIgniter in `~/git/tastyigniter`, that can be used as a source for this repo.\n\nUse the command:\n\n```sh\nmake setup-dev\n```\n\nTo do pretty much what the `make setup` command does, but sourcing the TastyIgniter source code from the local cloned git version of TastyIgniter in `~/git/tastyigniter`, which is really handy for testing of TastyIgniter.\n\nDatabase migration may fail during the above command due to the MySQL container not coming online fast enough. If so, just run:\n\n```sh\nmake install-dev\n```\n\nWhich will re-run just the specific installation part of the process, which should now work fine.\n\n### Why port 80 by default?\n\nIn your `.env`, `WEB_EXT_PORT` is set to `80` by default. I've found that FireFox _does not_ like running from `8080` (or any non-standard port) for relative links, which breaks _all_ of the links that TastyIgniter makes use of for buttons and asset paths, so it completely breaks if its not over port `80`. Helpful.\n\n## Development\n\nTo quickly bring up or down containers you can use exposed `make` commands, if you don't have shell aliases already setup:\n\n```sh\nmake up\n\nmake down\n```\n\nTo access a shell within the app container, you can use:\n\n```sh\nmake shell\n```\n\nTo clean out the repo and built fragments, you can use:\n\n```sh\nmake clean\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothyn%2Ftastyigniter-docker-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fothyn%2Ftastyigniter-docker-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothyn%2Ftastyigniter-docker-testing/lists"}