Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
quant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
quant
Commits
f4b5b226
Verified
Commit
f4b5b226
authored
7 months ago
by
Malte Bauch
Browse files
Options
Downloads
Patches
Plain Diff
Fix: docker-compose is working again
parent
1ade7c83
No related branches found
No related tags found
1 merge request
!227
Resolve "Receiver map is not updated correctly for key exchange"
Pipeline
#227734
failed
7 months ago
Stage: build
Stage: build-integration-test
Stage: test
Stage: analyze
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/controller/add_devices.sh
+5
-2
5 additions, 2 deletions
config/controller/add_devices.sh
config/controller/qkdn-gosdn.toml
+1
-1
1 addition, 1 deletion
config/controller/qkdn-gosdn.toml
docker-compose.yml
+131
-127
131 additions, 127 deletions
docker-compose.yml
with
137 additions
and
130 deletions
config/controller/add_devices.sh
+
5
−
2
View file @
f4b5b226
...
...
@@ -3,8 +3,8 @@
## Note: This script does not clean up network elements already existing in the storage. Running it repeatedly will
## create a garbage storage.
GOSDNC_PATH
=
"./
artifacts/
gosdnc"
GOSDN_ADDRESS
=
"
127.0.0.1
:55055"
GOSDNC_PATH
=
"./gosdnc"
GOSDN_ADDRESS
=
"
qkdn-controller
:55055"
ADMINPW
=
"TestPassword"
KMS_PLUGIN
=
"e404ecf7-4860-41ee-9cee-3dd6af6c5e2b"
PND_UUID
=
"5f20f34b-cbd0-4511-9ddc-c50cf6a3b49d"
...
...
@@ -28,3 +28,6 @@ $GOSDNC_PATH mne create --address "kms01:7030" --name kms01 --password admin --p
$GOSDNC_PATH
mne create
--address
"kms02:7030"
--name
kms02
--password
admin
--plugin-id
$KMS_PLUGIN
--username
admin
--uuid
5e41c291-6121-4335-84f6-41e04b8bdaa2
$GOSDNC_PATH
mne create
--address
"kms03:7030"
--name
kms03
--password
admin
--plugin-id
$KMS_PLUGIN
--username
admin
--uuid
f80db2c0-2480-46b9-b7d1-b63f954e8227
$GOSDNC_PATH
mne create
--address
"kms04:7030"
--name
kms03
--password
admin
--plugin-id
$KMS_PLUGIN
--username
admin
--uuid
968fd594-b0e7-41f0-ba4b-de259047a933
## Add additional user for an app
$GOSDNC_PATH
user create
--u
app
--p
TestApp
--r
app
This diff is collapsed.
Click to expand it.
config/controller/qkdn-gosdn.toml
+
1
−
1
View file @
f4b5b226
...
...
@@ -15,5 +15,5 @@ log-level = 'debug'
nogrpcpassthrough
=
false
plugin-folder
=
'plugins'
plugin-registry
=
'plugin-registry:55057'
security
=
'secure'
security
=
'
in
secure'
socket
=
':55055'
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
131
−
127
View file @
f4b5b226
services
:
kms01
:
image
:
gokms
command
:
[
"
--log"
,
"
debug"
,
"
--kms_config"
,
"
/tmp/kms/config/kms01.yaml"
]
volumes
:
-
./config/goKMS/example01.yaml:/tmp/kms/config/kms01.yaml
-
./artifacts/ssl:/ssl
ports
:
-
"
127.0.0.1:4401:1337"
-
"
127.0.0.1:9696:9696"
kms02
:
image
:
gokms
command
:
[
"
--log"
,
"
debug"
,
"
--kms_config"
,
"
/tmp/kms/config/kms02.yaml"
]
volumes
:
-
./config/goKMS/example02.yaml:/tmp/kms/config/kms02.yaml
-
./artifacts/ssl:/ssl
ports
:
-
"
127.0.0.1:4402:1337"
kms03
:
image
:
gokms
command
:
[
"
--log"
,
"
debug"
,
"
--kms_config"
,
"
/tmp/kms/config/kms03.yaml"
]
volumes
:
-
./config/goKMS/example03.yaml:/tmp/kms/config/kms03.yaml
-
./artifacts/ssl:/ssl
ports
:
-
"
127.0.0.1:4403:1337"
kms04
:
image
:
gokms
command
:
[
"
--log"
,
"
debug"
,
"
--kms_config"
,
"
/tmp/kms/config/kms04.yaml"
]
volumes
:
-
./config/goKMS/example04.yaml:/tmp/kms/config/kms04.yaml
-
./artifacts/ssl:/ssl
ports
:
-
"
127.0.0.1:4404:1337"
-
"
127.0.0.1:9697:9696"
qlayer01
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer01.yaml"
]
volumes
:
-
./config/quantumlayer/example01.yaml:/tmp/quantumlayer/config/quantumlayer01.yaml
qlayer02
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer02.yaml"
]
volumes
:
-
./config/quantumlayer/example02.yaml:/tmp/quantumlayer/config/quantumlayer02.yaml
qlayer03
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer03.yaml"
]
volumes
:
-
./config/quantumlayer/example03.yaml:/tmp/quantumlayer/config/quantumlayer03.yaml
qlayer04
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer04.yaml"
]
volumes
:
-
./config/quantumlayer/example04.yaml:/tmp/quantumlayer/config/quantumlayer04.yaml
qlayer05
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer05.yaml"
]
volumes
:
-
./config/quantumlayer/example05.yaml:/tmp/quantumlayer/config/quantumlayer05.yaml
qlayer06
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer06.yaml"
]
volumes
:
-
./config/quantumlayer/example06.yaml:/tmp/quantumlayer/config/quantumlayer06.yaml
qlayer07
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer07.yaml"
]
volumes
:
-
./config/quantumlayer/example07.yaml:/tmp/quantumlayer/config/quantumlayer07.yaml
qlayer08
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer08.yaml"
]
volumes
:
-
./config/quantumlayer/example08.yaml:/tmp/quantumlayer/config/quantumlayer08.yaml
akms-receiver01
:
image
:
akms-simulator
akms-receiver02
:
image
:
akms-simulator
qkdn-controller
:
image
:
registry.code.fbi.h-da.de/demoquandt/qkdn-controller:qkdn-main
volumes
:
-
./config/controller/qkdn-gosdn.toml:/app/configs/qkdn-gosdn.toml
-
./config/controller/gNMISubscriptions.txt:/app/configs/gNMISubscriptions.txt
command
:
--config ./configs/qkdn-gosdn.toml
ports
:
-
"
127.0.0.1:55055:55055"
environment
:
GOSDN_ADMIN_PASSWORD
:
TestPassword
gosdnc
:
image
:
registry.code.fbi.h-da.de/demoquandt/qkdn-controller/gosdnc:qkdn-main
volumes
:
-
./config/controller/add_devices.sh:/scripts/add_devices.sh
entrypoint
:
[
"
/scripts/add_devices.sh"
]
plugin-registry
:
image
:
registry.code.fbi.h-da.de/demoquandt/qkdn-controller/plugin-registry:qkdn-main
mongo
:
image
:
mongo:7
environment
:
MONGO_INITDB_ROOT_USERNAME
:
root
MONGO_INITDB_ROOT_PASSWORD
:
example
rabbitmq
:
image
:
rabbitmq:3-management
routing-app
:
image
:
registry.code.fbi.h-da.de/demoquandt/qkdn-controller/routing-app:qkdn-main
entrypoint
:
[
"
./start_ra_sleep.sh"
]
volumes
:
-
./config/controller/start_ra_sleep.sh:/app/start_ra_sleep.sh
-
./config/controller/routing-config.yaml:/new/routing-config.yaml
kms01
:
image
:
gokms
command
:
[
"
--log"
,
"
debug"
,
"
--kms_config"
,
"
/tmp/kms/config/kms01.yaml"
]
volumes
:
-
./config/goKMS/example01.yaml:/tmp/kms/config/kms01.yaml
-
./artifacts/ssl:/ssl
ports
:
-
"
127.0.0.1:4401:1337"
-
"
127.0.0.1:9696:9696"
kms02
:
image
:
gokms
command
:
[
"
--log"
,
"
debug"
,
"
--kms_config"
,
"
/tmp/kms/config/kms02.yaml"
]
volumes
:
-
./config/goKMS/example02.yaml:/tmp/kms/config/kms02.yaml
-
./artifacts/ssl:/ssl
ports
:
-
"
127.0.0.1:4402:1337"
kms03
:
image
:
gokms
command
:
[
"
--log"
,
"
debug"
,
"
--kms_config"
,
"
/tmp/kms/config/kms03.yaml"
]
volumes
:
-
./config/goKMS/example03.yaml:/tmp/kms/config/kms03.yaml
-
./artifacts/ssl:/ssl
ports
:
-
"
127.0.0.1:4403:1337"
kms04
:
image
:
gokms
command
:
[
"
--log"
,
"
debug"
,
"
--kms_config"
,
"
/tmp/kms/config/kms04.yaml"
]
volumes
:
-
./config/goKMS/example04.yaml:/tmp/kms/config/kms04.yaml
-
./artifacts/ssl:/ssl
ports
:
-
"
127.0.0.1:4404:1337"
-
"
127.0.0.1:9697:9696"
qlayer01
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer01.yaml"
]
volumes
:
-
./config/quantumlayer/example01.yaml:/tmp/quantumlayer/config/quantumlayer01.yaml
qlayer02
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer02.yaml"
]
volumes
:
-
./config/quantumlayer/example02.yaml:/tmp/quantumlayer/config/quantumlayer02.yaml
qlayer03
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer03.yaml"
]
volumes
:
-
./config/quantumlayer/example03.yaml:/tmp/quantumlayer/config/quantumlayer03.yaml
qlayer04
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer04.yaml"
]
volumes
:
-
./config/quantumlayer/example04.yaml:/tmp/quantumlayer/config/quantumlayer04.yaml
qlayer05
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer05.yaml"
]
volumes
:
-
./config/quantumlayer/example05.yaml:/tmp/quantumlayer/config/quantumlayer05.yaml
qlayer06
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer06.yaml"
]
volumes
:
-
./config/quantumlayer/example06.yaml:/tmp/quantumlayer/config/quantumlayer06.yaml
qlayer07
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer07.yaml"
]
volumes
:
-
./config/quantumlayer/example07.yaml:/tmp/quantumlayer/config/quantumlayer07.yaml
qlayer08
:
image
:
quantumlayer
command
:
[
"
--config"
,
"
/tmp/quantumlayer/config/quantumlayer08.yaml"
]
volumes
:
-
./config/quantumlayer/example08.yaml:/tmp/quantumlayer/config/quantumlayer08.yaml
akms-receiver01
:
image
:
akms-simulator
akms-receiver02
:
image
:
akms-simulator
qkdn-controller
:
image
:
registry.code.fbi.h-da.de/demoquandt/qkdn-controller:qkdn-main
volumes
:
-
./config/controller/qkdn-gosdn.toml:/app/configs/qkdn-gosdn.toml
-
./config/controller/gNMISubscriptions.txt:/app/configs/gNMISubscriptions.txt
command
:
--config ./configs/qkdn-gosdn.toml
ports
:
-
"
127.0.0.1:55055:55055"
environment
:
GOSDN_ADMIN_PASSWORD
:
TestPassword
gosdnc
:
image
:
registry.code.fbi.h-da.de/demoquandt/qkdn-controller/gosdnc:qkdn-main
volumes
:
-
./config/controller/add_devices.sh:/scripts/add_devices.sh
entrypoint
:
[
"
./scripts/add_devices.sh"
]
plugin-registry
:
image
:
registry.code.fbi.h-da.de/demoquandt/qkdn-controller/plugin-registry:qkdn-main
mongo
:
image
:
mongo:7
environment
:
MONGO_INITDB_ROOT_USERNAME
:
root
MONGO_INITDB_ROOT_PASSWORD
:
example
rabbitmq
:
image
:
rabbitmq:3-management
routing-app
:
image
:
registry.code.fbi.h-da.de/demoquandt/qkdn-controller/routing-app:qkdn-main
entrypoint
:
[
"
./start_ra_sleep.sh"
]
volumes
:
-
./config/controller/start_ra_sleep.sh:/app/start_ra_sleep.sh
-
./config/controller/routing-config.yaml:/new/routing-config.yaml
This diff is collapsed.
Click to expand it.
Malte Bauch
@hda11597
mentioned in commit
11c4e90e
·
7 months ago
mentioned in commit
11c4e90e
mentioned in commit 11c4e90e8b5ce716bfea43dc0fc1aa873c5cb6cb
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment