diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff487fa..1d61f16 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,12 +16,12 @@ build-2: image: docker/compose:1.29.2 services: - name: docker:25.0.3-dind - command: ["--insecure-registry=103.31.38.120:8900"] + command: ["--insecure-registry=38.47.185.86:8900"] script: - - 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-compose build - - docker tag registry.gitlab.com/hanifsalafi/narasi-ahli-be:dev 103.31.38.120:8900/medols/narasi-ahli-be:dev - - docker push 103.31.38.120:8900/medols/narasi-ahli-be:dev + - docker tag registry.gitlab.com/hanifsalafi/narasi-ahli-be:dev 38.47.185.86:8900/medols/narasi-ahli-be:dev + - docker push 38.47.185.86:8900/medols/narasi-ahli-be:dev deploy: stage: deploy diff --git a/config/toml/config.toml b/config/toml/config.toml index 4e415cc..a819722 100644 --- a/config/toml/config.toml +++ b/config/toml/config.toml @@ -12,7 +12,7 @@ production = false body-limit = 1048576000 # "100 * 1024 * 1024" [db.postgres] -dsn = "postgresql://narasiahli_user:NarasiAhliDB@2025@157.10.161.198:5432/narasiahli_db" # ://:@:/ +dsn = "postgresql://narasiahli_user:NarasiAhliDB@2025@38.47.185.79:5432/narasiahli_db" # ://:@:/ log-mode = "NONE" migrate = true seed = true