Commit 418a0713 authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update dockerfile

parent efc79c58
Pipeline #789 canceled with stages
......@@ -2,15 +2,14 @@
debug = true
[mysql]
#host = "tg-messenger-db"
host = "127.0.0.1"
host = "aon-db"
port = 3306
user = "root"
password = ""
database = "sdk"
password = "XN2UARuys3zy4Oux"
database = "tg"
max_conn = 10
max_idle_conn = 2
enable_log = false
enable_log = true
[server]
listen = "0.0.0.0:8080"
......
networks:
default:
name: aon-db
name: aon-backend
services:
tg-messenger-api:
......@@ -14,7 +14,7 @@ services:
condition: service_healthy
volumes:
- ./conf/tg_messenger/config.toml:/config.toml
- ./conf/tg-messenger/config.toml:/config.toml
command:
- "/bin/sh"
- "-c"
......@@ -31,7 +31,7 @@ services:
condition: service_healthy
volumes:
- ./conf/tg_messenger/config.toml:/config.toml
- ./conf/tg-messenger/config.toml:/config.toml
command:
- "/bin/sh"
- "-c"
......
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