Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
# Conflicts:
#	_docker-compose.override.yml
#	docker-compose.yml
  • Loading branch information
lharzenetter committed Jul 4, 2019
2 parents de1b195 + 4d8b95c commit 0b27775
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
COMPOSE_PROJECT_NAME=OpenTOSCA
COMPOSE_CONVERT_WINDOWS_PATHS=1
PUBLIC_HOSTNAME=container
PUBLIC_HOSTNAME=localhost
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Wait a few seconds, then open the [OpenTOSCA user interface](http://localhost:80
**NOTE:** Please check the [Docker Daemon Settings](#docker-daemon-settings)

**NOTE:** In an optimal setup `localhost` should be replaced by a publicly available Fully-Qualified Domain Name or IP address.
**NOTE:** In an optimal setup `localhost` should be replaced by a publicly available Fully-Qualified Domain Name or IP address directly in the `.env` file.

---

Expand All @@ -49,8 +49,6 @@ Simple How-To section to cover different kinds of use cases.
> ```shell
> cp _docker-compose.override.yml docker-compose.override.yml
> ```
> Update the `docker-compose.override.yml` by replacing all `<your public ip address>` with either your IP-address or a Fully-Qualified Domain Name.
> **NOTE**: Otherwise, the Completion feature cannot be used!
>
> Similarly, replace the `CONTAINER_HOSTNAME: <public ip address of the container>` with the Full-Qualified Domain Name or IP address of the container.
`
Expand Down Expand Up @@ -138,8 +136,8 @@ docker-compose -f docker-compose.yml -f docker-compose.bps.yml up -d
```shell
docker-compose exec winery bash
rm -rf /var/opentosca/repository
git clone https://github.com/OpenTOSCA/tosca-definitions-internal /var/opentosca/repository
rm -rf ${WINERY_REPOSITORY_PATH}
git clone https://github.com/OpenTOSCA/tosca-definitions-internal ${WINERY_REPOSITORY_PATH}
exit
```
Expand Down
11 changes: 0 additions & 11 deletions _docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,9 @@ services:
# - <path on host system>:/usr/local/tomcat/webapps
# ports:
# - '1883:1883' # MQTT
container-repository:
environment:
WINERY_HOSTNAME: <your public ip address>
# WORKFLOWMODELER_HOSTNAME: <your public ip address>
# TOPOLOGYMODELER_HOSTNAME: <your public ip address>
# CONTAINER_HOSTNAME: <public ip address of the container>
winery:
environment:
WINERY_REPOSITORY_URL: https://github.com/OpenTOSCA/tosca-definitions-public
# WINERY_HOSTNAME: <your public ip address>
# WORKFLOWMODELER_HOSTNAME: <your public ip address>
# TOPOLOGYMODELER_HOSTNAME: <your public ip address>
# CONTAINER_HOSTNAME: <public ip address of the container>

dind:
environment:
# University of Stuttgart internal DNS settings
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ services:
WINERY_PORT: 8091
WORKFLOWMODELER_PORT: 8091
TOPOLOGYMODELER_PORT: 8091
WINERY_HOSTNAME: ${PUBLIC_HOSTNAME}
WORKFLOWMODELER_HOSTNAME: ${PUBLIC_HOSTNAME}
TOPOLOGYMODELER_HOSTNAME: ${PUBLIC_HOSTNAME}
CONTAINER_HOSTNAME: ${PUBLIC_HOSTNAME}
ports:
- '8091:8080'
networks:
Expand All @@ -53,6 +57,11 @@ services:
- opentosca
winery:
image: opentosca/winery:v2.2.1-M1
environment:
WINERY_HOSTNAME: ${PUBLIC_HOSTNAME}
WORKFLOWMODELER_HOSTNAME: ${PUBLIC_HOSTNAME}
TOPOLOGYMODELER_HOSTNAME: ${PUBLIC_HOSTNAME}
CONTAINER_HOSTNAME: ${PUBLIC_HOSTNAME}
ports:
- '8080:8080'
networks:
Expand Down

0 comments on commit 0b27775

Please sign in to comment.