Update gitlab

This commit is contained in:
M1 AIR
2026-01-13 10:59:51 +07:00
parent 64fe845128
commit f8415ea15d
+1 -2
View File
@@ -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