Skip to content

Instantly share code, notes, and snippets.

@Jamiewarb
Created October 14, 2022 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jamiewarb/58196f5f58f04ec2ac91a7dc7bcfb19c to your computer and use it in GitHub Desktop.
Save Jamiewarb/58196f5f58f04ec2ac91a7dc7bcfb19c to your computer and use it in GitHub Desktop.
id: 34241
name: entelechy-api
environments:
development:
domain: dev-api.entelechy.academy
memory: 1024
cli-memory: 512
gateway-version: 2
runtime: docker
database: entelechy-dev01_laravel
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
- 'php artisan route:cache'
- 'php artisan view:cache'
- 'php artisan config:cache'
- 'php artisan event:cache'
deploy:
- 'php artisan migrate --force'
- 'php artisan lighthouse:cache'
production:
domain: api.entelechy.academy
memory: 1024
cli-memory: 512
gateway-version: 2
runtime: docker
database: entelechy-prod01_laravel
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
- 'php artisan route:cache'
- 'php artisan view:cache'
- 'php artisan config:cache'
- 'php artisan event:cache'
deploy:
- 'php artisan migrate --force'
- 'php artisan lighthouse:cache'
staging:
domain: staging-api.entelechy.academy
memory: 1024
cli-memory: 512
gateway-version: 2
runtime: docker
database: entelechy-stag01_laravel
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
- 'php artisan route:cache'
- 'php artisan view:cache'
- 'php artisan config:cache'
- 'php artisan event:cache'
deploy:
- 'php artisan migrate --force'
- 'php artisan lighthouse:cache'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment