Skip to content

Commit

Permalink
fix(szp): run web server to serve the image
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com>
  • Loading branch information
glimchb authored May 29, 2024
1 parent 00d339e commit e0eef7b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lab/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@ services:
healthcheck:
test: ["CMD-SHELL", "curl --fail -H Accept:application/yang-data+json http://127.0.0.1:$$SZTPD_NBI_PORT/.well-known/host-meta || exit 1"]

web:
image: docker.io/library/httpd:2.4.57-alpine3.17
volumes:
- ./sztp/my-boot-image.img:/usr/local/apache2/htdocs/my-boot-image.img
ports:
- 8082:80
networks:
- opi

volumes:
semaphore-mysql:
portainer_data:
Expand Down

0 comments on commit e0eef7b

Please sign in to comment.