diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb57b08..d57b0da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ build-2: image: docker:24 services: - name: docker:24-dind - command: ["--insecure-registry=103.31.38.120:8900"] + command: ["--insecure-registry=38.47.185.86:8900"] variables: DOCKER_HOST: tcp://docker:2375 @@ -15,10 +15,10 @@ build-2: script: - docker version - - docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.31.38.120:8900 + - docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 38.47.185.86:8900 - docker build -t registry.gitlab.com/hanifsalafi/web-medols-be:dev . - - docker tag registry.gitlab.com/hanifsalafi/web-medols-be:dev 103.31.38.120:8900/medols/web-medols-be:dev - - docker push 103.31.38.120:8900/medols/web-medols-be:dev + - docker tag registry.gitlab.com/hanifsalafi/web-medols-be:dev 38.47.185.86:8900/medols/web-medols-be:dev + - docker push 38.47.185.86:8900/medols/web-medols-be:dev deploy: stage: deploy diff --git a/config/toml/config.toml b/config/toml/config.toml index b3d0163..c7cd45c 100644 --- a/config/toml/config.toml +++ b/config/toml/config.toml @@ -1,7 +1,7 @@ # Configuration vars for cmd/app [app] name = "Fiber starter" -host = "http://103.31.38.120" +host = "http://38.47.185.86" port = ":8800" domain = "https://dev.mikulnews.com/api" external-port = ":8802" @@ -12,7 +12,7 @@ production = false body-limit = 1048576000 # "100 * 1024 * 1024" [db.postgres] -dsn = "postgresql://medols_user:MedolsDB@2025@157.10.161.198:5432/medols_db" # ://:@:/ +dsn = "postgresql://medols_user:MedolsDB@2025@38.47.185.79:5432/medols_db" # ://:@:/ log-mode = "ERROR" migrate = true seed = false @@ -66,7 +66,7 @@ enable = true retention = 30 [keycloak] -endpoint = "http://103.31.38.120:8008" +endpoint = "http://38.47.185.86:8008" realm = "medols" client-id = "medols-app" client-secret = "iyonEpZbAUs20quwaNFLMwRX7MUgPRlS"