Skip to content

Commit 04bcb74

Browse files
committed
fix: config files
1 parent 756f15e commit 04bcb74

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
service_name = "gpt_answer_server_docker"
2+
exporter_endpoint = "http://quickwit:7281"
3+
4+
[server]
5+
url = "0.0.0.0"
6+
port = 9999
7+
8+
[log]
9+
level = "info"
10+
11+
[db.pg]
12+
url = "postgres://postgres:changeme@postgres:5432/postgres"
13+
max_size = 10
14+
15+
[redis]
16+
host = "redis"
17+
port = 6379

deploy/docker/01_public_custom.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
service_name = "rust-api-server-docker"
1+
service_name = "public_server_docker"
22
exporter_endpoint = "http://quickwit:7281"
33

44
[server]

deploy/docker/docker-compose.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ services:
4141
ports:
4242
- "8888:8888"
4343
volumes:
44-
- ./01-custom.toml:/user/01-custom.toml:ro
44+
- ./01_public_custom.toml:/user/01-custom.toml:ro
45+
gpt_answer_server:
46+
image: gpt_answer_server
47+
build:
48+
context: ../..
49+
target: gpt_answer_server_dev
50+
ports:
51+
- "9999:9999"
52+
volumes:
53+
- ./01_gpt_answer_server_custom.toml.toml:/user/01-custom.toml:ro
4554
volumes:
4655
postgres:

0 commit comments

Comments
 (0)