{"id":22151391,"url":"https://github.com/src-run/symfony-docker","last_synced_at":"2025-03-24T13:21:50.565Z","repository":{"id":136386487,"uuid":"76812338","full_name":"src-run/symfony-docker","owner":"src-run","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-17T01:59:20.000Z","size":504,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T18:24:14.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/src-run.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-18T23:15:07.000Z","updated_at":"2018-03-17T22:50:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d2f1cf8-b040-458d-a102-abd4255d87d7","html_url":"https://github.com/src-run/symfony-docker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-run%2Fsymfony-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-run%2Fsymfony-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-run%2Fsymfony-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-run%2Fsymfony-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/src-run","download_url":"https://codeload.github.com/src-run/symfony-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245276110,"owners_count":20588895,"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-12-02T00:32:42.980Z","updated_at":"2025-03-24T13:21:50.536Z","avatar_url":"https://github.com/src-run.png","language":"PHP","readme":"# symfony3-docker-php71\n\nSimple Docker setup for Symfony 3+ with PHP 7.1, Apache2 and MySQL.\n\n## Docker setup\n\nRun this project by starting docker with compose:\n\n```bash\n    docker-compose up -d    \n```\n\nLogin with this little helper script from within the project dir \n(just for convenience, `docker exec` will too):\n\n```bash\n    ./bin/dexec\n```\n\nYou can also login by using plain old SSH:\n\n```bash\n    # Please refer to \"Security\" section for password informations!\n    ssh -p 2222 web@localhost\n```\n\n## PHPStorm setup\n\n1. Go to the `Deployment` settings for this project and add an `SFTP` deployment\n\n![Howto add SFTP deployment](./doc/img/deploy_sftp_setup.png)\n\n2. Enter connection informations:\n\n![Deployment settings](./doc/img/deploy_settings.png)\n\n3. Configure project paths mappings:\n\n![Project paths mapping](./doc/img/deploy_mappings.png)\n\n4. Configure exclude paths mappgins:\n\n![Exclude paths mapping](./doc/img/deploy_excludepaths.png)\n\n5. Set proper deploy and sync options\n\n![Deploy and sync options](./doc/img/deploy_options.png)\n\n## Environment\n\n* **SSH** is mapped to `2121` and `2222`\n* **MySQL** is mapped to `33060`\n* **Apache** is mapped to `8080`\n\n## Security\n\n**MySQL**\n\nPlease refere to the environment variables set within the `docker-compose.yml`-file.\n\n**Webserver**\n\nBy default the password for the webserver user (`web`) is also `web`.\n\nIf you like to change the password, just pass the `WEBSERVER_PASSWORD`-environment variable with your desired password to the container within\nyour `docker-compose.yml`-file:\n\n```yaml\n\nservices:\n  // ...\n  php:\n    // ...\n    environment:\n      - WEBSERVER_PASSWORD=S3cureP4s5\n\n```\n\n_Keep in mind that you have to use this password for your PHPStorm deployment too!_ \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-run%2Fsymfony-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrc-run%2Fsymfony-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-run%2Fsymfony-docker/lists"}