Commit 967a0a86 authored by brent's avatar brent

add admin-backend

parent 5358414d
Pipeline #682 canceled with stages
File added
File added
appname = ai_developer_admin
httpport = 8087
runmode = dev
copyrequestbody = true
sessionon = true
sessiongcmaxlifetime = 127800
; SessionProvider = "redis"
; SessionProviderConfig = "192.168.1.10:6379,1000"
web3ClientId = "BHciicCbodMasHsyVfcdPYCaCokJMK5wGs2H4IRCaseqNJlcb1Li4kExaf5gF5DoUx-m_77epCrRPq4XmQzzdRk"
include "mysql.conf"
include "kong.conf"
include "redis.conf"
include "postgres.conf"
\ No newline at end of file
[dev]
kongadminurl = "http://192.168.1.10:8001"
[prod]
kongadminurl = "http://192.168.1.10:8001"
\ No newline at end of file
[dev]
mysqluser = "root"
mysqlpass = "12345678"
mysqlhost = "192.168.1.211"
mysqlport = 3306
mysqldb = "liuxuzhong"
[prod]
mysqluser = "root"
mysqlpass = "12345678"
mysqlhost = "192.168.1.211"
mysqlport = 3306
mysqldb = "liuxuzhong"
\ No newline at end of file
[dev]
postgresuser = "admin"
postgrespass = "quest"
postgreshost = "192.168.1.10"
postgresport = 8812
postgresdb = "qdb"
[prod]
postgresuser = "admin"
postgrespass = "quest"
postgreshost = "192.168.1.10"
postgresport = 8812
postgresdb = "qdb"
\ No newline at end of file
[dev]
tokenhost = "192.168.1.10:6379"
tokendb = 0
tokenpass = ""
balancehost = "192.168.1.10:6379"
balancedb = 0
balancepass = ""
[prod]
tokenhost = "192.168.1.10:6379"
tokendb = 0
tokenpass = ""
balancehost = "192.168.1.10:6379"
balancedb = 0
balancepass = ""
version: "3.9"
services:
admin-backend:
image: caduceus/ai-sys-mgr
container_name: admin-backend
entrypoint: /usr/bin/admin-backend
deploy:
restart_policy:
condition: on-failure
delay: 1s
max_attempts: 100
window: 120s
ports:
- "8087:8087"
volumes:
- ./conf/admin-backend/conf:/root/conf
networks:
- odysseus
networks:
odysseus:
driver: bridge
ipam:
config:
- subnet: 172.100.0.0/16
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment