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

update dockerfile

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