Skip to content

Commit 34c176c

Browse files
committed
πŸ› Possible DB connection issue
1 parent 8f9677a commit 34c176c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

β€Ž.github/workflows/build_server.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,13 @@ jobs:
134134
if 'name' in data:
135135
del data['name']
136136
137-
# Convert depends_on to lists
137+
# Convert depends_on to lists while preserving network configurations
138138
for service in data["services"].values():
139139
if "depends_on" in service:
140140
service["depends_on"] = list(service["depends_on"].keys())
141+
# Ensure network configurations are preserved
142+
if "networks" not in service:
143+
service["networks"] = ["default"]
141144
142145
yaml.dump(data, sys.stdout, default_flow_style=False)
143146
EOF
@@ -175,7 +178,7 @@ jobs:
175178
"
176179
177180
echo "⏳ Waiting for stack to stabilize..."
178-
sleep 45
181+
sleep 15
179182
180183
# Update services
181184
echo "πŸ”„ Updating services..."

0 commit comments

Comments
Β (0)