Skip to content

Commit

Permalink
do not merge yet: trying original sztpd server
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored Jun 6, 2024
1 parent cdf2962 commit 940c737
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,32 @@ services:
networks:
- opi

sztpd:
image: docker.io/opiproject/sztpd:0.0.15
environment:
SZTPD_INIT_PORT: 5080
SZTPD_INIT_MODE: 1
SZTPD_ACCEPT_CONTRACT: "Yes"
SZTPD_INIT_ADDR: 0.0.0.0
networks:
- opi
healthcheck:
test: ["CMD-SHELL", "curl --fail -H Accept:application/yang-data+json http://127.0.0.1:$$SZTPD_INIT_PORT/.well-known/host-meta || exit 1"]
interval: 6s
retries: 5
start_period: 20s
timeout: 10s

sztpd-test:
image: docker.io/curlimages/curl:8.5.0
depends_on:
sztpd:
condition: service_healthy
networks:
- opi
command: ["--fail", "-i", "--user", "[email protected]:my-secret", "-H", "Accept:application/yang-data+json", "http://sztpd:5080/restconf/ds/ietf-datastores:running"]


jaeger:
image: jaegertracing/all-in-one:1.53.0
ports:
Expand Down

0 comments on commit 940c737

Please sign in to comment.