-
Notifications
You must be signed in to change notification settings - Fork 0
/
zerops.yml
73 lines (66 loc) · 1.75 KB
/
zerops.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
zerops:
- setup: app
build:
base:
os: alpine
buildCommands:
- composer install --ignore-platform-reqs
deployFiles: ./
cache:
- vendor
- composer.lock
deploy:
readinessCheck:
httpGet:
port: 80
path: /up
run:
base: [email protected]
os: alpine
siteConfigPath: site.conf.tmpl
envVariables:
APP_NAME: "Laravel Minimal X Zerops"
APP_LOCALE: en
APP_FAKER_LOCALE: en_US
APP_FALLBACK_LOCALE: en
APP_MAINTENANCE_DRIVER: file
APP_MAINTENANCE_STORE: database
APP_TIMEZONE: UTC
APP_URL: ${zeropsSubdomain}
DB_CONNECTION: pgsql
DB_DATABASE: db
DB_HOST: db
DB_USERNAME: ${db_user}
DB_PASSWORD: ${db_password}
DB_PORT: 5432
LOG_CHANNEL: syslog
LOG_LEVEL: debug
LOG_STACK: single
MAIL_MAILER: log
MAIL_HOST: 127.0.0.1
MAIL_PORT: 2525
MAIL_USERNAME: null
MAIL_PASSWORD: null
MAIL_ENCRYPTION: null
MAIL_FROM_ADDRESS: "[email protected]"
MAIL_FROM_NAME: "${APP_NAME}"
SESSION_DRIVER: database
SESSION_LIFETIME: 120
SESSION_ENCRYPT: false
SESSION_PATH: /
SESSION_DOMAIN: null
BROADCAST_CONNECTION: log
FILESYSTEM_DISK: local
QUEUE_CONNECTION: database
CACHE_STORE: database
initCommands:
- php artisan view:cache
- php artisan config:cache
- php artisan route:cache
- sudo -E -u zerops -- zsc execOnce ${appVersionId} -- php artisan migrate --force
- php artisan optimize
healthCheck:
httpGet:
port: 80
path: /up