diff --git a/sztp-server/config/first-configuration.xml b/config/first-configuration.xml similarity index 100% rename from sztp-server/config/first-configuration.xml rename to config/first-configuration.xml diff --git a/sztp-server/config/first-post-configuration-script.sh b/config/first-post-configuration-script.sh similarity index 100% rename from sztp-server/config/first-post-configuration-script.sh rename to config/first-post-configuration-script.sh diff --git a/sztp-server/config/first-pre-configuration-script.sh b/config/first-pre-configuration-script.sh similarity index 100% rename from sztp-server/config/first-pre-configuration-script.sh rename to config/first-pre-configuration-script.sh diff --git a/sztp-server/config/second-configuration.xml b/config/second-configuration.xml similarity index 100% rename from sztp-server/config/second-configuration.xml rename to config/second-configuration.xml diff --git a/sztp-server/config/second-post-configuration-script.sh b/config/second-post-configuration-script.sh similarity index 100% rename from sztp-server/config/second-post-configuration-script.sh rename to config/second-post-configuration-script.sh diff --git a/sztp-server/config/second-pre-configuration-script.sh b/config/second-pre-configuration-script.sh similarity index 100% rename from sztp-server/config/second-pre-configuration-script.sh rename to config/second-pre-configuration-script.sh diff --git a/sztp-server/config/sztpd.redirect.json.template b/config/sztpd.redirect.json.template similarity index 100% rename from sztp-server/config/sztpd.redirect.json.template rename to config/sztpd.redirect.json.template diff --git a/sztp-server/config/sztpd.running.json.template b/config/sztpd.running.json.template similarity index 100% rename from sztp-server/config/sztpd.running.json.template rename to config/sztpd.running.json.template diff --git a/sztp-server/config/third-configuration.xml b/config/third-configuration.xml similarity index 100% rename from sztp-server/config/third-configuration.xml rename to config/third-configuration.xml diff --git a/sztp-server/config/third-post-configuration-script.sh b/config/third-post-configuration-script.sh similarity index 100% rename from sztp-server/config/third-post-configuration-script.sh rename to config/third-post-configuration-script.sh diff --git a/sztp-server/config/third-pre-configuration-script.sh b/config/third-pre-configuration-script.sh similarity index 100% rename from sztp-server/config/third-pre-configuration-script.sh rename to config/third-pre-configuration-script.sh diff --git a/docker-compose.yml b/docker-compose.yml index 2ecf6c54..bc7f519d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,8 +13,8 @@ services: volumes: - server-certs:/certs - ./images:/media - - ./sztp-server/config:/mnt - - ./sztp-server/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh + - ./config:/mnt + - ./scripts/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh entrypoint: /usr/local/bin/docker-entrypoint.sh environment: SZTPD_INIT_PORT: 6080 @@ -40,8 +40,8 @@ services: condition: service_completed_successfully volumes: - server-certs:/certs - - ./sztp-server/config/sztpd.redirect.json.template:/mnt/sztpd.redirect.json.template - - ./sztp-server/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh + - ./config/sztpd.redirect.json.template:/mnt/sztpd.redirect.json.template + - ./scripts/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh entrypoint: /usr/local/bin/docker-entrypoint.sh environment: SZTPD_INIT_PORT: 6080 diff --git a/sztp-server/docker-entrypoint.sh b/scripts/docker-entrypoint.sh similarity index 100% rename from sztp-server/docker-entrypoint.sh rename to scripts/docker-entrypoint.sh