feat: update gitlab ci

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

View File

@ -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
- 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
[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" # <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
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"