{"id":13562613,"url":"https://github.com/jtreminio/dashtainer","last_synced_at":"2025-03-22T13:31:48.720Z","repository":{"id":145212581,"uuid":"123213133","full_name":"jtreminio/dashtainer","owner":"jtreminio","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-21T18:17:11.000Z","size":4108,"stargazers_count":48,"open_issues_count":12,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-18T11:39:37.393Z","etag":null,"topics":["docker","docker-compose","docker-gui","php","puphpet"],"latest_commit_sha":null,"homepage":null,"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/jtreminio.png","metadata":{"files":{"readme":"README.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}},"created_at":"2018-02-28T01:48:22.000Z","updated_at":"2024-11-18T01:31:18.000Z","dependencies_parsed_at":"2024-01-14T04:03:21.784Z","dependency_job_id":null,"html_url":"https://github.com/jtreminio/dashtainer","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtreminio%2Fdashtainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtreminio%2Fdashtainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtreminio%2Fdashtainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtreminio%2Fdashtainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtreminio","download_url":"https://codeload.github.com/jtreminio/dashtainer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244962897,"owners_count":20539240,"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":["docker","docker-compose","docker-gui","php","puphpet"],"created_at":"2024-08-01T13:01:10.397Z","updated_at":"2025-03-22T13:31:47.990Z","avatar_url":"https://github.com/jtreminio.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"## Setup Guide\n\nIf you wish to run a copy of Dashtainer yourself for local development, the following\nsteps will get you up and running within minutes.\n\n### Requirements\n\n* [Docker ≥ 18.04](https://docs.docker.com/install/)\n* [Docker Compose ≥ 1.21](https://docs.docker.com/compose/install/)\n* Clone this repo\n\n### User and Group ID\n\nDocker recommends not running container as root.\n\nFor development purposes, running containers as root means any files created by the container\nwill show as owned by root on your host. Things like `composer install` or similar will be\nroot owned and makes deleting them a pain.\n\nIncluded is a helper script to generate a `.env` file that Composer will read and apply. All\nit does is pass along your user and group ID to Docker so it can create a user with the same\nvalues. Any files then created by the container will show as owned by your current user.\n\n* Run `./bin/init` to generate the `.env` file\n\nIf you would rather the containers run as root, simply copy the included `.env.dist` to `.env`.\n\n### Container init\n\n* Run `./bin/init`\n\n### App configuration\n\n* Run `./bin/php composer install` to install Composer requirements\n* Run `./bin/php ./bin/console dashtainer:db:create` to create and seed database\n* Run `./bin/node npm install` to install NPM dependencies\n* Run `./bin/webpack` to begin the \n    [Encore](https://symfony.com/doc/3.4/frontend.html) daemon\n\n### Open the app in browser\n\n* Open [dashtainer.localhost/app_dev.php](http://dashtainer.localhost/app_dev.php) in Chrome\n    * If you do not use Chrome, you must first configure dnsmasq to forward all\n        `*.localhost` requests to 127.0.0.1. Or just use Chrome.\n\nThe default user credentials are:\n\n* User: `test@dashtainer.com`\n* Password: `test123`\n\n### Database credentials\n\nOpen [adminer.dashtainer.localhost](http://adminer.dashtainer.localhost) in Chrome to\nuse Adminer with the following credentials:\n\n* Host/Server: `mariadb`\n* Post: `3306`\n* Database Name: `dashtainer`\n* Database User: `dashtainer`\n* Database Password: `dashtainer`\n\nYou may also access the database using Sequel Pro or any other MySQL-compatible GUI with:\n\n* Host/Server: `localhost`\n* Post: `3600`\n* Database Name: `dashtainer`\n* Database User: `dashtainer`\n* Database Password: `dashtainer`\n\n### Xdebug\n\nTwo PHP containers are created, `php` and `php_xdebug`. While Xdebug is installed on both\ncontainers, only `php_xdebug` has it activated by default.\n\nTo trigger Xdebug, you must set a cookie, `XDEBUG_SESSION`, to `xdebug` value.\n\nUse the [PhpStorm Bookmarklets](https://www.jetbrains.com/phpstorm/marklets/)\ngenerator to create your Start and Stop bookmarks. The IDE key should be `xdebug`.\n\n### Linux users\nIf spinning up Docker on a Linux host, the `xdebug.remote_host` value in PHP INI\nuse `host.docker.internal` which does not currently work on Linux hosts (only Windows and MacOS for now).\n\nTo fix this, simply copy the\n[docker-compose.override.yml.dist](https://github.com/jtreminio/dashtainer/blob/master/docker/docker-compose.override.yml.dist)\nfile to `docker-compose.override.yml`.\n\n### Unit tests\n\n* Run `./bin/php ./vendor/bin/phpunit` to run unit tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtreminio%2Fdashtainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtreminio%2Fdashtainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtreminio%2Fdashtainer/lists"}