File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,13 @@ jobs:
134
134
if 'name' in data:
135
135
del data['name']
136
136
137
- # Convert depends_on to lists
137
+ # Convert depends_on to lists while preserving network configurations
138
138
for service in data["services"].values():
139
139
if "depends_on" in service:
140
140
service["depends_on"] = list(service["depends_on"].keys())
141
+ # Ensure network configurations are preserved
142
+ if "networks" not in service:
143
+ service["networks"] = ["default"]
141
144
142
145
yaml.dump(data, sys.stdout, default_flow_style=False)
143
146
EOF
@@ -175,7 +178,7 @@ jobs:
175
178
"
176
179
177
180
echo "β³ Waiting for stack to stabilize..."
178
- sleep 45
181
+ sleep 15
179
182
180
183
# Update services
181
184
echo "π Updating services..."
You canβt perform that action at this time.
0 commit comments