mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
68 lines
2.0 KiB
YAML
68 lines
2.0 KiB
YAML
id: 53427
|
|
name: exchange
|
|
separate-vendor: true
|
|
environments:
|
|
production:
|
|
domain: production.exchange.izyim.com
|
|
memory: 1024
|
|
cli-memory: 512
|
|
queues:
|
|
- exchange-default-production
|
|
- exchange-high_priority-production
|
|
database: cief-amazon-rds-mysql
|
|
storage: exchange-2.0-production
|
|
# gateway-version: 2
|
|
# cache: vapor-laravel-poc-cache
|
|
runtime: 'docker'
|
|
timeout: 180
|
|
build:
|
|
- 'composer update'
|
|
- 'npm install'
|
|
- 'npm run prod'
|
|
- 'gulp build'
|
|
# - 'rm -rf node_modules'
|
|
# - 'php artisan optimize'
|
|
# # - 'php artisan config:clear'
|
|
# - 'php artisan key:generate'
|
|
# - 'php artisan config:cache'
|
|
# - 'php artisan route:cache'
|
|
# - 'php artisan view:cache'
|
|
deploy:
|
|
- 'php artisan migrate --force'
|
|
staging:
|
|
domain: staging.exchange.izyim.com
|
|
memory: 1024
|
|
cli-memory: 512
|
|
queues:
|
|
- exchange-default-staging
|
|
- exchange-high_priority-staging
|
|
database: cief-amazon-rds-mysql
|
|
storage: exchange-2.0-production-duplicate #cief todo: exchange-2.0-staging
|
|
runtime: 'docker'
|
|
timeout: 180
|
|
build:
|
|
- 'composer update'
|
|
- 'npm install'
|
|
- 'npm run dev'
|
|
- 'gulp build'
|
|
deploy:
|
|
- 'php artisan migrate --force'
|
|
development:
|
|
domain: dev.exchange.izyim.com
|
|
memory: 1024
|
|
cli-memory: 512
|
|
queues:
|
|
- exchange-default-development
|
|
- exchange-high_priority-development
|
|
database: cief-amazon-rds-mysql
|
|
storage: exchange-2.0-production-duplicate #cief todo: exchange-2.0-develoopment
|
|
runtime: 'docker'
|
|
timeout: 180
|
|
build:
|
|
- 'composer update'
|
|
- 'npm install'
|
|
- 'npm run dev'
|
|
- 'gulp build'
|
|
deploy:
|
|
- 'php artisan migrate --force'
|