Command line helper for Shopware, WordPress and various other server environment needs.
cli shopware bookstack wordpress
at develop 13 lines 418 B view raw
1import { Service } from "../Service"; 2 3export class Bookstack extends Service { 4 public getDatabaseConfig() { 5 return { 6 host: this.env.required("DB_HOST"), 7 port: this.env.get("DB_PORT") ?? "3306", 8 database: this.env.required("DB_DATABASE"), 9 username: this.env.required("DB_USERNAME"), 10 password: this.env.required("DB_PASSWORD"), 11 }; 12 } 13}