forked from mtusi2026/mtusi2026lab3
feat: add initial project structure and files for Go API with PostgreSQL and HAProxy
Co-authored-by: aider (ollama/qwen2.5-coder:7b) <aider@aider.chat>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
REPLICA=$1
|
||||
|
||||
docker compose start ${REPLICA}
|
||||
sleep 10
|
||||
curl -I http://localhost:8080/health
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
REPLICA=$1
|
||||
|
||||
docker compose stop ${REPLICA}
|
||||
docker compose ps
|
||||
curl -I http://localhost:8080/health
|
||||
Reference in New Issue
Block a user