add Gpslog log

This commit is contained in:
2025-09-06 02:23:25 +09:00
parent 6d001bf378
commit 93768fa4ec
4 changed files with 248 additions and 23 deletions

View File

@ -15,7 +15,7 @@ def run_db_query(query):
"""
try:
cmd = [
'docker-compose', 'exec', '-T', 'db',
'docker-compose', 'exec', '-T', 'postgres-db',
'psql', '-U', 'admin', '-d', 'rogdb',
'-c', query
]
@ -23,8 +23,7 @@ def run_db_query(query):
result = subprocess.run(
cmd,
capture_output=True,
text=True,
cwd='/Volumes/PortableSSD1TB/main/GifuTabi/rogaining_srv_exdb-2/rogaining_srv'
text=True
)
if result.returncode == 0: