diff --git a/cli/helpers/database.go b/cli/helpers/database.go index cf7a2fc8..d6be0e29 100644 --- a/cli/helpers/database.go +++ b/cli/helpers/database.go @@ -27,7 +27,7 @@ func DownDB() error { return err } - // #nosec G204 -- MIGRATIONS is a constant file path configured in cli/commands/config.go and config.Database.PostgresConn() is configured by the config/local.yml + // #nosec G204 -- MIGRATIONS is a constant file path configured in cli/commands/config.go and config.Database.PostgresConn() is configured in config/ cmd := exec.Command("migrate", "-path", MIGRATIONS, "-database", config.Database.PostgresConn(), "-verbose", "down", "-all") cmd.Dir = ROOT_DIR diff --git a/config/local.yml b/config/local.yml deleted file mode 100644 index 54a93ac0..00000000 --- a/config/local.yml +++ /dev/null @@ -1,34 +0,0 @@ -application: - port: 8080 - host: 127.0.0.1 - baseurl: http://127.0.0.1 -database: - host: 127.0.0.1 - port: 5432 - username: postgres - password: password - databasename: sac - requiressl: false -superuser: - password: Password#!1 -auth: - accesskey: g(r|##*?>\Qp}h37e+,T2 - refreshkey: amk*2!gG}1i"8D9RwJS$p -calendar: - maxterminationdate: 12-31-2024 -redis: - - username: redis_active_tokens - host: 127.0.0.1 - port: 6379 - password: redis_active_token!#1 - db: 0 - - username: redis_blacklist - host: 127.0.0.1 - port: 6380 - password: redis_blacklist!#2 - db: 0 - - username: redis_limiter - host: 127.0.0.1 - port: 6381 - password: redis_limiter!#3 - db: 0 diff --git a/config/production.yml b/config/production.yml deleted file mode 100644 index f3ac210c..00000000 --- a/config/production.yml +++ /dev/null @@ -1,4 +0,0 @@ -application: - host: 0.0.0.0 -database: - require_ssl: true \ No newline at end of file