fix:new docker ip, new db ip
This commit is contained in:
parent
25d3276cdc
commit
12f602d7a0
|
|
@ -16,12 +16,12 @@ build-2:
|
||||||
image: docker/compose:1.29.2
|
image: docker/compose:1.29.2
|
||||||
services:
|
services:
|
||||||
- name: docker:25.0.3-dind
|
- name: docker:25.0.3-dind
|
||||||
command: ["--insecure-registry=103.31.38.120:8900"]
|
command: ["--insecure-registry=38.47.185.86:8900"]
|
||||||
script:
|
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-compose build
|
||||||
- docker tag registry.gitlab.com/hanifsalafi/narasi-ahli-be:dev 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 103.31.38.120:8900/medols/narasi-ahli-be:dev
|
- docker push 38.47.185.86:8900/medols/narasi-ahli-be:dev
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ production = false
|
||||||
body-limit = 1048576000 # "100 * 1024 * 1024"
|
body-limit = 1048576000 # "100 * 1024 * 1024"
|
||||||
|
|
||||||
[db.postgres]
|
[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"
|
log-mode = "NONE"
|
||||||
migrate = true
|
migrate = true
|
||||||
seed = true
|
seed = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue