OpenTOSCA / opentosca-docker

Docker Compose for running OpenTOSCA
MIT License
26 stars 17 forks source link

winery fails to install when using the docker-compose.override.yml #60

Open alphaOmegaOnGithub opened 1 year ago

alphaOmegaOnGithub commented 1 year ago

I get the following error when running docker compose up with a docker-compose.override.yml with the following settings: winery: environment: WINERY_REPOSITORY_PATH: /var/opentosca/repository

WINERY_REPOSITORY_URL: https://github.com/OpenTOSCA/tosca-definitions-example-applications

  **WINERY_REPOSITORY_URL: https://github.com/UST-QuAntiL/tosca-definitions-qc-applications**
# # use a modeling repository that is stored on the host system
# volumes:
#   - <path on host system>:/var/opentosca/repository
# # e.g., - C:\tosca-definitions\tosca-definitions-qc-applications:/var/openstosca/repository

Just following the 1. tutorial in the opentosca-docker project.

file: /opt/winery/.winery/winery.yml opentosca-dind-1 | time="2023-05-18T19:10:30.060778324Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address" opentosca-winery-1 | 19:10:30.247 [main] ERROR o.e.w.r.b.filebased.GitBasedRepository :172 - Error initializing Git. opentosca-winery-1 | java.io.IOException: Creating directories for /var/opentosca/repository/.git failed opentosca-winery-1 | at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:396) opentosca-winery-1 | at org.eclipse.jgit.internal.storage.file.FileRepository.create(FileRepository.java:234) opentosca-winery-1 | at org.eclipse.jgit.lib.Repository.create(Repository.java:178)