https://github.com/kenichi/laravel-example
example config for progressing laravel apps from local images to production running on AWS ECS
https://github.com/kenichi/laravel-example
aws docker docker-compose ecs php php-fpm
Last synced: 3 months ago
JSON representation
example config for progressing laravel apps from local images to production running on AWS ECS
- Host: GitHub
- URL: https://github.com/kenichi/laravel-example
- Owner: kenichi
- Created: 2019-03-29T19:02:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T23:11:36.000Z (over 7 years ago)
- Last Synced: 2025-12-26T21:52:59.041Z (6 months ago)
- Topics: aws, docker, docker-compose, ecs, php, php-fpm
- Language: PHP
- Size: 246 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# laravel-ecs example config
[Read More](https://medium.com/phylos/leaving-the-forge-part-1)
```
$ cd ops/
$ docker-compose build
...
$ docker-compose up -d
...
$ docker-compose exec example_php_fpm /bin/sh -c \
'curl -L -o install_composer.php https://getcomposer.org/installer && \
php install_composer.php --install-dir=/usr/local/bin --filename=composer && \
cd /var/www/example && \
composer install'
...
$ sudo sh -c "echo '127.0.0.1 example.test' >> /etc/hosts"
```