Skip to content

Commit 2dc711c

Browse files
committed
docker-compose.yaml: Add "lava-ser2net" and "ser2net" aliases
While we'd like to retain upstream service name, "lava-dispatcher-ser2net", we need to refer to it by following hostnames: lava-ser2net - new hostname, consistent with lava-dispatcher ser2net - legacy hostname, which may be used in existing user's board configs Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
1 parent a4cf8fe commit 2dc711c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker-compose.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ services:
174174
- worker-tftp:/srv/tftp
175175

176176
lava-dispatcher-ser2net:
177+
# Required, lite-lava-docker-compose scripts use "lava-ser2net" hostname.
178+
container_name: lava-ser2net
177179
build:
178180
context: ./ser2net
179181
environment:
@@ -190,6 +192,12 @@ services:
190192
devices: []
191193
ports:
192194
- 7101:7101
195+
networks:
196+
default:
197+
aliases:
198+
# Existing board configs that users have around, may still refer to
199+
# the older hostname, "ser2net", so we add it as an alias here.
200+
- ser2net
193201

194202
lava-dispatcher-nfs:
195203
build:

0 commit comments

Comments
 (0)