{"id":15020948,"url":"https://github.com/ph3nol/docker-arch","last_synced_at":"2025-07-31T11:41:28.503Z","repository":{"id":57038432,"uuid":"99832151","full_name":"Ph3nol/Docker-Arch","owner":"Ph3nol","description":"Generate Web/CLI projects Dockerized development environments, from 1 simple YAML file.","archived":false,"fork":false,"pushed_at":"2018-09-24T06:43:08.000Z","size":11097,"stargazers_count":30,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T05:56:46.505Z","etag":null,"topics":["developer-tools","devops","docker","docker-arch","docker-compose","docker-image","docker-sync","generator"],"latest_commit_sha":null,"homepage":"https://ph3nol.github.io/Docker-Arch/","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/Ph3nol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-09T16:53:43.000Z","updated_at":"2024-09-22T06:37:51.000Z","dependencies_parsed_at":"2022-08-23T23:30:52.955Z","dependency_job_id":null,"html_url":"https://github.com/Ph3nol/Docker-Arch","commit_stats":null,"previous_names":[],"tags_count":77,"template":false,"template_full_name":null,"purl":"pkg:github/Ph3nol/Docker-Arch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ph3nol%2FDocker-Arch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ph3nol%2FDocker-Arch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ph3nol%2FDocker-Arch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ph3nol%2FDocker-Arch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ph3nol","download_url":"https://codeload.github.com/Ph3nol/Docker-Arch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ph3nol%2FDocker-Arch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268031344,"owners_count":24184464,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["developer-tools","devops","docker","docker-arch","docker-compose","docker-image","docker-sync","generator"],"created_at":"2024-09-24T19:55:55.532Z","updated_at":"2025-07-31T11:41:28.438Z","avatar_url":"https://github.com/Ph3nol.png","language":"PHP","readme":"# Docker-Arch(itect)\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/ph3nol/docker-arch.svg)](https://packagist.org/packages/ph3nol/docker-arch)\n[![License](https://img.shields.io/packagist/l/ph3nol/docker-arch.svg)](https://packagist.org/packages/ph3nol/docker-arch)\n[![Total Downloads](https://img.shields.io/packagist/dt/ph3nol/docker-arch.svg)](https://packagist.org/packages/ph3nol/docker-arch)\n[![Build Status](https://secure.travis-ci.org/Ph3nol/Docker-Arch.png)](http://travis-ci.org/Ph3nol/Docker-Arch)\n\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/acb7b2ff-0aa1-47bf-a0a9-7b944c36b7c4/big.png)](https://insight.sensiolabs.com/projects/acb7b2ff-0aa1-47bf-a0a9-7b944c36b7c4)\n\n## Demonstration\n\n![Basic Demo](https://github.com/Ph3nol/Docker-Arch/raw/master/examples/basic-demo.gif \"Basic Demo\")\n\n## User Docker-Arch from dedicated Docker image (recommanded)\n\nFrom dedicated [Docker image](https://hub.docker.com/r/ph3nol/docker-arch/).\n\n``` shell\ndocker pull ph3nol/docker-arch\n```\n\n## Use Docker-Arch from local installation (PHP 7.1+ required)\n\n``` shell\ncurl -sSL https://raw.githubusercontent.com/Ph3nol/Docker-Arch/master/install.sh | sh\n```\n\n## Docker-Arch environment generation\n\nGo to your project root directory and create/edit `.docker-arch.yml` file [see examples](examples/).\n\nThen generate your Docker environment:\n\n``` shell\ndocker run -it -v $(PWD):/destination ph3nol/docker-arch:latest generate /destination\n```\n\nFinally, use `.docker-arch/do` script, from the project, for somes actions:\n\n``` shell\n.docker-arch/do build    # Build containers (like `docker-compose up --build -d`)\n.docker-arch/do start    # Start containers (like `docker-compose up -d`)\n.docker-arch/do shell    # Access a container Shell\n.docker-arch/do ui       # Access generated UI that provides you Docker environment informations\n.docker-arch/do dc       # Access `docker-compose` with your configuration, for specific requests\n.docker-arch/do stop     # Stop containers (like `docker-compose stop`)\n.docker-arch/do clean    # Stop/Remove containers and reset linked volumes\n...\n```\n\nTo use the Docker image so fast, you can use these aliases/functions:\n\n#### Unixy\n\n``` bash\nfunction docker-arch {\n    case \"$1\" in\n        *)\n            if [ -z $2 ]; then DESTINATION_PATH=$PWD; else DESTINATION_PATH=$2; fi\n            if [[ \"$DESTINATION_PATH\" == \".\" ]]; then DESTINATION_PATH=$PWD; fi\n\n            docker run -it -v $DESTINATION_PATH:/destination ph3nol/docker-arch:latest generate /destination\n            ;;\n    esac\n}\n```\n\n#### Windows\n\n```ps\n// ~/Documents/WindowsPowerShell/Microsoft.PowerShell_profile.ps1\n\nfunction docker-arch ([String] $Destination = $PWD) {\n  docker run --rm -it -v \"${Destination}:/destination\" ph3nol/docker-arch:latest generate /destination\n}\n```\n\n## To do\n\n* Improve documentation\n* Add new Services/DockerContainers - Feel free to contribute! :)\n* Write fucking unit Tests (Atoum powered)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph3nol%2Fdocker-arch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fph3nol%2Fdocker-arch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph3nol%2Fdocker-arch/lists"}