opnform-host-nginx/api/vapor.yml

48 lines
1.0 KiB
YAML
Raw Permalink Normal View History

2022-09-20 21:59:52 +02:00
id: 34225
name: OpnForm
ignore:
2024-02-11 12:20:38 +01:00
- storage/clockwork
- storage/logs
- client
2024-08-25 15:51:48 +02:00
- .git
- integrations
- docker
2022-09-20 21:59:52 +02:00
environments:
2024-02-11 12:20:38 +01:00
api-production:
warm: 5
memory: 2048
cli-memory: 2048
cli-timeout: 900
queue-memory: 2048
queue-timeout: 900
2024-08-25 15:51:48 +02:00
runtime: "php-8.2:al2-arm"
2024-02-11 12:20:38 +01:00
storage: opnforms-prod
database: OpnForm
domain: api.opnform.com
build:
2024-08-25 15:51:48 +02:00
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
- "php artisan optimize"
2024-08-25 15:51:48 +02:00
- "php artisan disposable:update"
2024-02-11 12:20:38 +01:00
deploy:
2024-08-25 15:51:48 +02:00
- "php artisan migrate --force"
2024-02-11 12:20:38 +01:00
firewall:
rate-limit: 1000
timeout: 60
api-staging:
memory: 1024
cli-memory: 512
cli-timeout: 900
2024-08-25 15:51:48 +02:00
runtime: "php-8.2:al2-arm"
2024-02-11 12:20:38 +01:00
storage: opnforms-staging
database: OpnForm
domain: api.stg.opnform.com
build:
2024-08-25 15:51:48 +02:00
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
- "php artisan optimize"
2024-08-25 15:51:48 +02:00
- "php artisan disposable:update"
2024-02-11 12:20:38 +01:00
deploy:
2024-08-25 15:51:48 +02:00
- "php artisan migrate --force"
2024-02-11 12:20:38 +01:00
firewall:
rate-limit: 1000
timeout: 60