-
Notifications
You must be signed in to change notification settings - Fork 4
/
zerops.yml
87 lines (81 loc) · 2.2 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
zerops:
- setup: app
build:
base:
- nodejs@18
os: ubuntu
buildCommands:
- composer install --optimize-autoloader --no-dev
- npm install
- npm run build
deployFiles: ./
cache:
- vendor
- composer.lock
- node_modules
- package-lock.json
deploy:
readinessCheck:
httpGet:
port: 80
path: /up
run:
base: [email protected]
os: ubuntu
siteConfigPath: site.conf.tmpl
envVariables:
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}
ASSET_URL: ${APP_URL}
VITE_APP_NAME: ${APP_NAME}
DB_CONNECTION: pgsql
DB_DATABASE: db
DB_HOST: db
DB_PASSWORD: ${db_password}
DB_PORT: 5432
DB_USERNAME: ${db_user}
AWS_ACCESS_KEY_ID: ${storage_accessKeyId}
AWS_REGION: us-east-1
AWS_BUCKET: ${storage_bucketName}
AWS_ENDPOINT: ${storage_apiUrl}
AWS_SECRET_ACCESS_KEY: ${storage_secretAccessKey}
AWS_URL: ${storage_apiUrl}/${storage_bucketName}
AWS_USE_PATH_STYLE_ENDPOINT: true
LOG_CHANNEL: syslog
LOG_LEVEL: debug
LOG_STACK: single
MAIL_FROM_ADDRESS: [email protected]
MAIL_FROM_NAME: ZeropsLaravel
MAIL_HOST: mailpit
MAIL_MAILER: smtp
MAIL_PORT: 1025
BROADCAST_CONNECTION: redis
CACHE_PREFIX: cache
CACHE_STORE: redis
QUEUE_CONNECTION: redis
REDIS_CLIENT: phpredis
REDIS_HOST: redis
REDIS_PORT: 6379
SESSION_DRIVER: redis
SESSION_ENCRYPT: false
SESSION_LIFETIME: 120
SESSION_PATH: /
BCRYPT_ROUNDS: 12
TRUSTED_PROXIES: "*"
FILESYSTEM_DISK: s3
initCommands:
- php artisan view:cache
- php artisan config:cache
- php artisan route:cache
- php artisan migrate --isolated --force
- php artisan optimize
healthCheck:
httpGet:
port: 80
path: /up