mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Update gitlab
This commit is contained in:
+1
-2
@@ -83,7 +83,7 @@ migrate_production:
|
|||||||
|
|
||||||
# ✅ Pastikan postgres & redis ON (sesuaikan nama service compose kamu!)
|
# ✅ Pastikan postgres & redis ON (sesuaikan nama service compose kamu!)
|
||||||
echo "✅ Ensuring postgres & redis running ..."
|
echo "✅ Ensuring postgres & redis running ..."
|
||||||
docker compose -f "$COMPOSE_FILE" up -d stg-postgres-lti stg-redis-lti || true
|
docker compose -f "$COMPOSE_FILE" up -d postgres-lti redis-lti || true
|
||||||
|
|
||||||
# ✅ Ambil network key dari compose
|
# ✅ Ambil network key dari compose
|
||||||
COMPOSE_NETWORK_KEY="$(docker compose -f "$COMPOSE_FILE" config | awk '/networks:/ {getline; print $1}' | tr -d ':')"
|
COMPOSE_NETWORK_KEY="$(docker compose -f "$COMPOSE_FILE" config | awk '/networks:/ {getline; print $1}' | tr -d ':')"
|
||||||
@@ -172,4 +172,3 @@ seed_production:
|
|||||||
docker compose -f "$COMPOSE_FILE" pull seed || true
|
docker compose -f "$COMPOSE_FILE" pull seed || true
|
||||||
docker compose -f "$COMPOSE_FILE" run --rm seed
|
docker compose -f "$COMPOSE_FILE" run --rm seed
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user