Skip to content
Snippets Groups Projects
Commit 6b4c4fe2 authored by Andreas Schärtl's avatar Andreas Schärtl
Browse files

deployment: make ports configurable

parent 2f72393d
Branches
No related tags found
No related merge requests found
......@@ -18,8 +18,20 @@ Directories
- `/src/ulo-rdf4j`: Script for generating `ULO.java` which contains
constants for use with RDF4J.
Configuration
-------------
Configuration for Docker Compose
--------------------------------
Configuration of the `/deployment` Docker Compose setup consists of
three port numbers.
* `ULOCOMPOSE_DBPORT` is the port the GraphDB instance listens on.
* `ULOCOMPOSE_COLLECTPORT` is the port the collector listens on.
* `ULOCOMPOSE_APPPORT` is the port the application listens on.
Configuration for Local Installs
--------------------------------
The `src/ulo-storage-applications` web interface listens on
`0.0.0.0:7400`. If you wish to change this, you can set the
......
ULOCOMPOSE_DBPORT=7200
ULOCOMPOSE_COLLECTPORT=7300
ULOCOMPOSE_APPPORT=7400
version: '3'
services:
ulocollectweb:
image: "schaertl/ulocollectweb"
ports:
- 7300:7300
ulographdb:
# We use an unoffcial image as there is no official
# image for the free version. It is possible to build
......@@ -12,12 +7,17 @@ services:
# prefer this solution as it means no special downloads.
image: "khaller/graphdb-free:1.2.2-graphdb9.1.1"
ports:
- 7200:7200
- ${ULOCOMPOSE_DBPORT}:7200
ulocollectweb:
image: "schaertl/ulocollectweb"
ports:
- ${ULOCOMPOSE_COLLECTPORT}:7300
uloapps:
image: "schaertl/uloapps:latest"
environment:
- ULOAPPS_REMOTE_SERVER=http://ulographdb:7200
- ULOAPPS_REMOTE_SERVER=http://ulographdb:${ULOCOMPOSE_DBPORT}
- ULOAPPS_REMOTE_REPOSITORY=compose
ports:
- 7400:7400
- ${ULOCOMPOSE_APPPORT}:7400
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment