update
This commit is contained in:
parent
3802c801a6
commit
f16c7f34b1
|
|
@ -8,7 +8,7 @@ build:
|
||||||
name: docker:25.0.3-cli
|
name: docker:25.0.3-cli
|
||||||
services:
|
services:
|
||||||
- name: docker:25.0.3-dind
|
- name: docker:25.0.3-dind
|
||||||
command: [ "--insecure-registry=103.82.242.92:8900" ]
|
command: ["--insecure-registry=103.82.242.92:8900"]
|
||||||
script:
|
script:
|
||||||
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.82.242.92:8900
|
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.82.242.92:8900
|
||||||
- docker compose build
|
- docker compose build
|
||||||
|
|
@ -22,4 +22,4 @@ deploy:
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
script:
|
script:
|
||||||
- curl --user $JENKINS_USER:$JENKINS_PWD http://38.47.180.165:8080/job/autodeploy-jaecoo-be/build?token=autodeployjaecoo
|
- curl --user $JENKINS_USER:$JENKINS_PWD "http://103.31.38.120:8080/job/autodeploy-jaecoo-be/build?token=autodeployjaecoo"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Configuration vars for cmd/app
|
# Configuration vars for cmd/app
|
||||||
[app]
|
[app]
|
||||||
name = "Fiber starter"
|
name = "Fiber starter"
|
||||||
host = "http://38.47.180.165"
|
host = "http://103.31.38.120"
|
||||||
port = ":8800"
|
port = ":8800"
|
||||||
domain = "https://jaecoocihampelasbdg.com/api"
|
domain = "https://jaecoocihampelasbdg.com/api"
|
||||||
external-port = ":8810"
|
external-port = ":8810"
|
||||||
|
|
@ -12,7 +12,7 @@ production = false
|
||||||
body-limit = 1048576000 # "100 * 1024 * 1024"
|
body-limit = 1048576000 # "100 * 1024 * 1024"
|
||||||
|
|
||||||
[db.postgres]
|
[db.postgres]
|
||||||
dsn = "postgresql://jaecoo_user:JaecooDB@2025@38.47.180.165:5432/jaecoo_db"
|
dsn = "postgresql://jaecoo_user:JaecooDB@2025@157.10.161.198:5432/jaecoo_db"
|
||||||
migrate = true
|
migrate = true
|
||||||
seed = true
|
seed = true
|
||||||
|
|
||||||
|
|
@ -23,9 +23,9 @@ level = 0 # panic -> 5, fatal -> 4, error -> 3, warn -> 2, info -> 1, debug -> 0
|
||||||
prettier = true
|
prettier = true
|
||||||
|
|
||||||
[objectstorage.miniostorage]
|
[objectstorage.miniostorage]
|
||||||
endpoint = "38.47.180.165:9009"
|
endpoint = "is3.cloudhost.id"
|
||||||
access-key-id = "lBtjqWidHz1ktBbduwGy"
|
access-key-id = "YRP1RM617986USRU6NN8"
|
||||||
secret-access-key = "nsedJIa2FI7SqsEVcSFqJrlP4JuFRWGLauNpzD0i"
|
secret-access-key = "vfbwQDYb1m7nfzo4LVEz90BIyOWfBMZ6bfGQbqDO"
|
||||||
use-ssl = false
|
use-ssl = false
|
||||||
bucket-name = "jaecoo"
|
bucket-name = "jaecoo"
|
||||||
location = "us-east-1"
|
location = "us-east-1"
|
||||||
|
|
@ -65,7 +65,7 @@ enable = true
|
||||||
retention = 30
|
retention = 30
|
||||||
|
|
||||||
[keycloak]
|
[keycloak]
|
||||||
endpoint = "http://38.47.180.165:8008"
|
endpoint = "103.31.38.120:8008"
|
||||||
realm = "medols"
|
realm = "medols"
|
||||||
client-id = "medols-app"
|
client-id = "medols-app"
|
||||||
client-secret = "iyonEpZbAUs20quwaNFLMwRX7MUgPRlS"
|
client-secret = "iyonEpZbAUs20quwaNFLMwRX7MUgPRlS"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue