-
Notifications
You must be signed in to change notification settings - Fork 1
/
vapor-us-east-1.yml
50 lines (48 loc) · 1.29 KB
/
vapor-us-east-1.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
id: 27269
name: dotenv-us-east-1
environments:
production:
domain:
- 'dotenv.ca'
- 'us-east-1.dotenv.ca'
warm: 10
memory: 1024
cli-memory: 512
scheduler: true
runtime: docker
database: lostlink
storage: dotenv-us-east-1-production
octane: true
octane-database-session-persist: true
octane-database-session-ttl: 10
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
- 'php artisan event:cache'
- 'npm ci && npm run prod && rm -rf node_modules'
deploy:
- 'php artisan config:cache'
- 'php artisan migrate --force'
develop:
domain:
- 'dev.dotenv.ca'
- 'develop.dotenv.ca'
- 'us-east-1.dev.dotenv.ca'
- 'us-east-1.develop.dotenv.ca'
warm: 10
memory: 1024
cli-memory: 512
scheduler: true
runtime: docker
database: lostlink
storage: dotenv-us-east-1-develop
octane: true
octane-database-session-persist: true
octane-database-session-ttl: 10
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install'
- 'php artisan event:cache'
- 'npm ci && npm run dev && rm -rf node_modules'
deploy:
- 'php artisan config:cache'
- 'php artisan migrate:fresh --seed'
# - "php artisan db:seed --class=FromProductionSeeder"