This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# overrides for php.ini file | |
max_input_vars=2000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM laravelphp/vapor:php81 | |
# installing ffmpeg and mysql client, | |
# gmp library is needed for gmp extension to work | |
RUN apk --update add ffmpeg mysql-client gmp-dev | |
# installing php extensions -> gmp extension | |
RUN docker-php-ext-install gmp | |
# copy local php.ini file to /usr/local/etc/php/conf.d/overrides.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM laravelphp/vapor:php81 | |
# Place application in Lamda application directory... | |
COPY . /var/task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: 38773 | |
name: vapor-app | |
environments: | |
production: | |
memory: 1024 | |
cli-memory: 512 | |
runtime: docker # uses /production.Dockerfile | |
database: vapor-app-database # database name - created in Vapor UI | |
build: # runs before deployment | |
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: 38773 | |
name: vapor-app | |
environments: | |
production: | |
memory: 1024 | |
cli-memory: 512 | |
runtime: php-8.1:al2 | |
database: vapor-app-database # database name - created in Vapor UI | |
build: #runs before deployment | |
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: 38773 | |
name: vapor-app | |
environments: | |
production: | |
memory: 1024 | |
cli-memory: 512 | |
runtime: php-8.1:al2 | |
build: #runs before deployment | |
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev' | |
- 'php artisan event:cache' |