feat: update gitlab ci

This commit is contained in:
hanif salafi 2024-11-06 21:43:41 +07:00
parent 0aac3f8a98
commit b3a20414b8
2 changed files with 10 additions and 10 deletions

View File

@ -30,4 +30,4 @@ deploy:
services: services:
- docker:dind - docker:dind
script: script:
- curl --user $JENKINS_USER:$JENKINS_PWD http://103.82.242.92:8080/job/autodeploy-humas-be/build?token=autodeployhumasbe - curl --user $JENKINS_USER:$JENKINS_PWD http://38.47.180.165:8080/job/autodeploy-humas-be/build?token=autodeployhumas

View File

@ -1,9 +1,9 @@
# Configuration vars for cmd/app # Configuration vars for cmd/app
[app] [app]
name = "Fiber starter" name = "Fiber starter"
host = "http://103.82.242.92" host = "http://38.47.180.165"
port = ":8800" port = ":8800"
domain = "https://103.82.242.92" domain = "https://38.47.180.165"
external-port = ":8802" external-port = ":8802"
idle-timeout = 5 # As seconds idle-timeout = 5 # As seconds
print-routes = false print-routes = false
@ -12,7 +12,7 @@ production = false
body-limit = 104857600 # "100 * 1024 * 1024" body-limit = 104857600 # "100 * 1024 * 1024"
[db.postgres] [db.postgres]
dsn = "postgresql://humas_polri:P@ssw0rd.1@103.82.242.92:5432/humas_polri" # <driver>://<username>:<password>@<host>:<port>/<database> dsn = "postgresql://humas_user:HumasDB#2024@38.47.180.165:5432/humas_db" # <driver>://<username>:<password>@<host>:<port>/<database>
migrate = false migrate = false
seed = false seed = false
@ -23,9 +23,9 @@ level = 0 # panic -> 5, fatal -> 4, error -> 3, warn -> 2, info -> 1, debug -> 0
prettier = true prettier = true
[objectstorage.miniostorage] [objectstorage.miniostorage]
endpoint = "103.82.242.92:9009" endpoint = "38.47.180.165:9009"
access-key-id = "A7USQd6iyinj38nDwnFE" access-key-id = "lBtjqWidHz1ktBbduwGy"
secret-access-key = "rTXDKRL8fhXUOaLDonwYThvDBPgNGPxvReTgfVGR" secret-access-key = "nsedJIa2FI7SqsEVcSFqJrlP4JuFRWGLauNpzD0i"
use-ssl = false use-ssl = false
bucket-name = "humas" bucket-name = "humas"
location = "us-east-1" location = "us-east-1"
@ -53,9 +53,9 @@ max = 20
expiration_seconds = 60 expiration_seconds = 60
[keycloak] [keycloak]
endpoint = "http://103.82.242.92:8008" endpoint = "http://38.47.180.165:8008"
realm = "humas" realm = "humas"
client-id = "humas-app" client-id = "humas-app"
client-secret = "8HV15QgqvQyNmisvZBQblQi4d27zys7l" client-secret = "rqFnStNEwGdeYQoOA5T3mxLfHPy9ECm6"
admin-username = "admin" admin-username = "developer-admin"
admin-password = "P@ssw0rd.1" admin-password = "P@ssw0rd.1"