From b3a20414b8ee6b5938c10d3ac7bc6ff80c4b8bbf Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Wed, 6 Nov 2024 21:43:41 +0700 Subject: [PATCH] feat: update gitlab ci --- .gitlab-ci.yml | 2 +- config/toml/config.toml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04a5774..b378326 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,4 +30,4 @@ deploy: services: - docker:dind script: - - curl --user $JENKINS_USER:$JENKINS_PWD http://103.82.242.92:8080/job/autodeploy-humas-be/build?token=autodeployhumasbe \ No newline at end of file + - curl --user $JENKINS_USER:$JENKINS_PWD http://38.47.180.165:8080/job/autodeploy-humas-be/build?token=autodeployhumas \ No newline at end of file diff --git a/config/toml/config.toml b/config/toml/config.toml index 40abbc6..6b7c2b8 100644 --- a/config/toml/config.toml +++ b/config/toml/config.toml @@ -1,9 +1,9 @@ # Configuration vars for cmd/app [app] name = "Fiber starter" -host = "http://103.82.242.92" +host = "http://38.47.180.165" port = ":8800" -domain = "https://103.82.242.92" +domain = "https://38.47.180.165" external-port = ":8802" idle-timeout = 5 # As seconds print-routes = false @@ -12,7 +12,7 @@ production = false body-limit = 104857600 # "100 * 1024 * 1024" [db.postgres] -dsn = "postgresql://humas_polri:P@ssw0rd.1@103.82.242.92:5432/humas_polri" # ://:@:/ +dsn = "postgresql://humas_user:HumasDB#2024@38.47.180.165:5432/humas_db" # ://:@:/ migrate = false seed = false @@ -23,9 +23,9 @@ level = 0 # panic -> 5, fatal -> 4, error -> 3, warn -> 2, info -> 1, debug -> 0 prettier = true [objectstorage.miniostorage] -endpoint = "103.82.242.92:9009" -access-key-id = "A7USQd6iyinj38nDwnFE" -secret-access-key = "rTXDKRL8fhXUOaLDonwYThvDBPgNGPxvReTgfVGR" +endpoint = "38.47.180.165:9009" +access-key-id = "lBtjqWidHz1ktBbduwGy" +secret-access-key = "nsedJIa2FI7SqsEVcSFqJrlP4JuFRWGLauNpzD0i" use-ssl = false bucket-name = "humas" location = "us-east-1" @@ -53,9 +53,9 @@ max = 20 expiration_seconds = 60 [keycloak] -endpoint = "http://103.82.242.92:8008" +endpoint = "http://38.47.180.165:8008" realm = "humas" client-id = "humas-app" -client-secret = "8HV15QgqvQyNmisvZBQblQi4d27zys7l" -admin-username = "admin" +client-secret = "rqFnStNEwGdeYQoOA5T3mxLfHPy9ECm6" +admin-username = "developer-admin" admin-password = "P@ssw0rd.1" \ No newline at end of file