{"id":21171629,"url":"https://github.com/terox/docker","last_synced_at":"2026-05-19T01:35:59.035Z","repository":{"id":68522278,"uuid":"322347458","full_name":"terox/docker","owner":"terox","description":"A personal docker files to start development environments fastly. I hope that help you!","archived":false,"fork":false,"pushed_at":"2022-12-04T18:30:00.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T10:51:17.773Z","etag":null,"topics":["docker","docker-compose","docker-files"],"latest_commit_sha":null,"homepage":"","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/terox.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":"2020-12-17T16:13:40.000Z","updated_at":"2022-12-01T12:21:28.000Z","dependencies_parsed_at":"2023-03-04T05:15:21.038Z","dependency_job_id":null,"html_url":"https://github.com/terox/docker","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/terox%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terox%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terox%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terox%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terox","download_url":"https://codeload.github.com/terox/docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243622499,"owners_count":20320982,"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-files"],"created_at":"2024-11-20T16:09:07.466Z","updated_at":"2026-05-19T01:35:58.986Z","avatar_url":"https://github.com/terox.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker files\n\u003e An easy and ready Docker files ready to use in your projects\n\n## How to use with ```docker-compose```\n\n1. Add this repository as [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules):\n\n    ```sh\n    git submodule add https://www.github.com/terox/docker docker\n    ```\n    ***Note**: don't forget add ```docker/``` to your ```.gitignore```*\n\n2. Create a ```docker-compose.yml``` in your project root and add the services that you want use, for example\nthe PHP 7.4:\n\n    ```yaml\n    version: '2'\n\n    services:\n\n        nginx1:\n            container_name: 'myproject.nginx1'\n\n            build: \n                context: docker/service/nginx1.18.x\n\n                args:\n                    php_container: 'myproject.php'\n                    preset: 'symfony4.conf'\n                    domains: www1.example.com\n                    public_path: public\n\n        nginx2:\n            container_name: 'myproject.nginx2'\n\n            build: \n                context: docker/service/nginx1.18.x\n\n                args:\n                    php_container: 'myproject.php'\n                    preset: 'symfony4.conf'\n                    domains: www2.example.com\n                    public_path: apps/api/public\n\n            ports:\n                - 8089:80\n\n            links:\n                - php\n\n            volumes_from:\n                - php    \n\n        php:\n            container_name: 'myproject.php'\n\n            build: \n                context: docker/service/php7.4-fpm\n\n                args:\n                    timezone: 'Europe/Madrid' # or you preferred timezone\n\n            volumes:\n                - .:/var/www/application \n    ```\n\n3. Ready to play:\n\n    ```sh\n    docker-compose up\n    ```\n\n## FAQ\n\n### How to update to the latest commit?\n\nEasy. You only need the get the latest commit from master branch:\n\n```sh\ncd docker \u0026\u0026 git pull\n```\n\n*Note: keep in mind that you must use the directory where you stored the submodule*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterox%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterox%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterox%2Fdocker/lists"}