Skip to content

Commit

Permalink
add:config.ini.example
Browse files Browse the repository at this point in the history
  • Loading branch information
CocaineCong committed Sep 26, 2023
1 parent 0c88c1c commit 88135bf
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,28 @@ DbPort = 3306
DbUser = root
DbPassWord = root
DbName = micro_todolist
Charset = utf8mb4

[rabbitmq]
RabbitMQ = amqp
RabbitMQUser = guest
RabbitMQPassWord = guest
RabbitMQHost = localhost
RabbitMQPort = 5672

[etcd]
EtcdHost = localhost
EtcdPort = 2379

[server]
UserServiceAddress = 127.0.0.1:8082
TaskServiceAddress = 127.0.0.1:8083

[redis]
RedisHost = localhost
RedisPort = 2379
RedisUsername = micro_todolist
RedisPassword =
```


Expand Down
33 changes: 33 additions & 0 deletions config/config.ini.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[service]
AppMode = debug
HttpPort = :4000

[mysql]
Db = mysql
DbHost = 127.0.0.1
DbPort = 3306
DbUser = root
DbPassWord = root
DbName = micro_todolist
Charset = utf8mb4

[rabbitmq]
RabbitMQ = amqp
RabbitMQUser = guest
RabbitMQPassWord = guest
RabbitMQHost = localhost
RabbitMQPort = 5672

[etcd]
EtcdHost = localhost
EtcdPort = 2379

[server]
UserServiceAddress = 127.0.0.1:8082
TaskServiceAddress = 127.0.0.1:8083

[redis]
RedisHost = localhost
RedisPort = 2379
RedisUsername = micro_todolist
RedisPassword =

0 comments on commit 88135bf

Please sign in to comment.