diff --git a/conf/app.ini b/conf/app.ini deleted file mode 100644 index 09028b0..0000000 --- a/conf/app.ini +++ /dev/null @@ -1,23 +0,0 @@ -RUN_MODE = debug - -[app] -PAGE_SIZE = 10 -JWT_SECRET = 23347$040412 - -[server] -HTTP_PORT = 8000 -READ_TIMEOUT = 60 -WRITE_TIMEOUT = 60 - -[database] -TYPE = postgres -USER = postgre -PASSWORD = 123456 -HOST = 127.0.0.1 -PORT = 5432 -NAME = data_govern -TABLE_PREFIX = d_ - -[redis] -HOST = 127.0.0.1 -PORT = 6379 \ No newline at end of file diff --git a/conf/app.ini.local b/conf/app.ini.local index 4478ed6..c5cb023 100644 --- a/conf/app.ini.local +++ b/conf/app.ini.local @@ -11,9 +11,14 @@ WRITE_TIMEOUT = 60 [database] TYPE = postgres -USER = postgres +USER = postgre PASSWORD = 123456 -HOST = postgres +HOST = 127.0.0.1 PORT = 5432 -NAME = dbname -TABLE_PREFIX = g_ \ No newline at end of file +NAME = data_govern +TABLE_PREFIX = d_ + +[redis] +HOST = 127.0.0.1 +PORT = 6379 +DB = 1 \ No newline at end of file