fix:new docker ip, new db ip

This commit is contained in:
Rama Priyanto 2025-12-26 10:49:16 +07:00
parent 25d3276cdc
commit 12f602d7a0
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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" # <driver>://<username>:<password>@<host>:<port>/<database>
dsn = "postgresql://narasiahli_user:NarasiAhliDB@2025@38.47.185.79:5432/narasiahli_db" # <driver>://<username>:<password>@<host>:<port>/<database>
log-mode = "NONE"
migrate = true
seed = true