The goal of this app is run a app using docker & docker-compose in DEVELOP environment, this app is not optimize to use in PRODUCTION environment.
NOTE: This app use docker-services to consume services as MySQL and others network services.
Copy and rename .env.dist to .env and edit with your custom params.
$ cp .env.dist .envCopy your SSH keys for access into the container.
$ cp ~/.ssh/id_rsa.pub ./docker/bash/ssh/
$ cp ~/.ssh/id_rsa ./docker/bash/ssh/Download your application into this root, with name app
git clone https://github.com/app/your-project-app.git appNow you ar ready to up project with docker-compose. Run this commands:
$ docker-compose up -dShow containers is up.
$ docker-compose psAccess into container
$ docker-compose exec app bashWhen you access into container you access as root, you need change to normal user profile.
$ su {yourname}Now you are into your project with your profile user, then you can run command to build your app, remember edit the params of your .env app.
$ composer install
...
# yarn install
# ... and other stuff