Minor fixes. Logs should now show the real ip address not the caddy container ip.

This commit is contained in:
2026-09-01 02:15:01 +00:00
parent 4377016cda
commit 80d21ec31e
7 changed files with 17 additions and 9 deletions
+3 -3
View File
@@ -6,9 +6,9 @@ SQLALCHEMY_DATABASE_URI=postgresql+psycopg://postgres:123456@postgres:5432/petty
MODULE_NAME=barker.main
PROJECT_NAME=barker
MAX_WORKERS=4
NATS_URL=nats://{{ nats_host }}:{{ nats_port }}
SUBJECT="barker.print"
STREAM="barker_print_stream"
NATS_URL={{ nats_url }}
SUBJECT=barker.print
STREAM=barker_print_stream
SECRET_KEY={{ secret_key }}
MIDDLEWARE_SECRET_KEY={{ middleware_key }}
ALGORITHM=HS256
+1 -1
View File
@@ -24,4 +24,4 @@
create: true
mode: "0644"
when: not caddy_snippet_present
notify: Restart caddy container
notify: Reload Caddy configuration
+1
View File
@@ -6,3 +6,4 @@ middleware_key: c4b0b98ff9
host: knox.mozimo.in
host_directory: "barker-{{ app_name }}"
docker_network: "{{ host_directory }}_net"
nats_url: "nats://clair.lan.tanshu.com:4222"