remove env data, its set in infra repo as secrets
This commit is contained in:
parent
2dfc44045b
commit
a864ff23e8
1 changed files with 0 additions and 24 deletions
|
|
@ -179,20 +179,6 @@ in
|
|||
user = cfg.user;
|
||||
group = cfg.group;
|
||||
phpPackage = cfg.backendPackage.passthru.php;
|
||||
phpEnv = {
|
||||
APP_ENV = "production";
|
||||
APP_DEBUG = "false";
|
||||
APP_URL = "https://${cfg.apiDomain}";
|
||||
LOG_CHANNEL = "stderr";
|
||||
DB_CONNECTION = "pgsql";
|
||||
DB_HOST = "/run/postgresql";
|
||||
DB_PORT = "5432";
|
||||
DB_DATABASE = cfg.database.name;
|
||||
DB_USERNAME = cfg.database.user;
|
||||
SESSION_DRIVER = "database";
|
||||
CACHE_STORE = "database";
|
||||
QUEUE_CONNECTION = "database";
|
||||
};
|
||||
settings = {
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"listen.group" = config.services.nginx.group;
|
||||
|
|
@ -244,16 +230,6 @@ in
|
|||
EnvironmentFile = cfg.secretsFile;
|
||||
WorkingDirectory = appRoot;
|
||||
};
|
||||
environment = {
|
||||
APP_ENV = "production";
|
||||
APP_DEBUG = "false";
|
||||
APP_URL = "https://${cfg.apiDomain}";
|
||||
DB_CONNECTION = "pgsql";
|
||||
DB_HOST = "/run/postgresql";
|
||||
DB_PORT = "5432";
|
||||
DB_DATABASE = cfg.database.name;
|
||||
DB_USERNAME = cfg.database.user;
|
||||
};
|
||||
script = ''
|
||||
${cfg.backendPackage.passthru.php}/bin/php artisan migrate --force --no-interaction
|
||||
${cfg.backendPackage.passthru.php}/bin/php artisan storage:link --force || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue