Skip to content

Commit

Permalink
Update Stellio
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jan 16, 2025
1 parent 414f65f commit 83008bc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ EXPOSED_PORT=1026

# Orion variables
ORION_LD_PORT=1026
ORION_LD_VERSION=1.6.0
ORION_LD_VERSION=1.8.0

# Scorpio variables
SCORPIO_PORT=9090
SCORPIO_VERSION=5.0.2
SCORPIO_VERSION=5.0.5

# Stellio variables
STELLIO_DOCKER_TAG=2.17.0
STELLIO_DOCKER_TAG=2.18.1
STELLIO_PORT=8080
STELLIO_TIMESCALE_POSTGIS=16-2.16.0-3.3

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1149,4 +1149,4 @@ the other [tutorials in this series](https://ngsi-ld-tutorials.rtfd.io)

## License

[MIT](LICENSE) © 2022-2024 FIWARE Foundation e.V.
[MIT](LICENSE) © 2022-2025 FIWARE Foundation e.V.
26 changes: 16 additions & 10 deletions docker-compose/stellio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ services:
hostname: stellio
labels:
org.fiware: 'tutorial'
image: stellio/stellio-api-gateway:${STELLIO_DOCKER_TAG}
image: quay.io/fiware/stellio-api-gateway:${STELLIO_DOCKER_TAG}
environment:
- SPRING_PROFILES_ACTIVE=docker
ports:
- ${EXPOSED_PORT:-1026}:${STELLIO_PORT:-9090}
- "${EXPOSED_PORT}:${STELLIO_PORT}"
networks:
- default

search-service:
container_name: stellio-search-service
labels:
org.fiware: 'tutorial'
image: stellio/stellio-search-service:${STELLIO_DOCKER_TAG}
image: quay.io/fiware/stellio-search-service:${STELLIO_DOCKER_TAG}
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_R2DBC_URL=r2dbc:postgresql://postgres/stellio_search
Expand All @@ -32,6 +34,8 @@ services:
- APPLICATION_PAGINATION_LIMIT-MAX=1000
ports:
- 8083:8083
networks:
- default
restart: always
depends_on:
postgres:
Expand All @@ -43,7 +47,7 @@ services:
container_name: stellio-subscription-service
labels:
org.fiware: 'tutorial'
image: stellio/stellio-subscription-service:${STELLIO_DOCKER_TAG}
image: quay.io/fiware/stellio-subscription-service:${STELLIO_DOCKER_TAG}
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_R2DBC_URL=r2dbc:postgresql://postgres/stellio_subscription
Expand All @@ -61,6 +65,8 @@ services:
- APPLICATION_PAGINATION_LIMIT-MAX=1000
ports:
- 8085:8084
networks:
- default
restart: always
depends_on:
postgres:
Expand All @@ -71,10 +77,12 @@ services:
kafka:
labels:
org.fiware: 'tutorial'
image: confluentinc/cp-kafka:7.3.1
image: confluentinc/cp-kafka:7.6.0
container_name: kafka
ports:
- 29092:29092
networks:
- default
restart: always
environment:
KAFKA_BROKER_ID: 1
Expand All @@ -88,17 +96,14 @@ services:
KAFKA_INTER_BROKER_LISTENER_NAME: 'PLAINTEXT'
KAFKA_CONTROLLER_LISTENER_NAMES: 'CONTROLLER'
KAFKA_LOG4J_ROOT_LOGLEVEL: INFO
volumes:
- ./stellio/kafka/update_run.sh:/tmp/update_run.sh
command: "bash -c 'if [ ! -f /tmp/update_run.sh ]; then echo \"ERROR: Did you forget the update_run.sh file that came with this docker-compose.yml file?\" && exit 1 ; else /tmp/update_run.sh && /etc/confluent/docker/run ; fi'"
CLUSTER_ID: NjExODZhMWVjMzllMTFlZm


# Databases
postgres:
labels:
org.fiware: 'tutorial'
image: stellio/stellio-timescale-postgis:${STELLIO_TIMESCALE_POSTGIS}

hostname: postgres
container_name: db-postgres
environment:
Expand All @@ -109,6 +114,8 @@ services:
- ACCEPT_TIMESCALE_TUNING=TRUE
ports:
- 5432:5432
networks:
- default
volumes:
- postgres-db:/var/lib/postgresql
healthcheck:
Expand All @@ -117,6 +124,5 @@ services:
timeout: 5s
retries: 20
start_period: 10s

volumes:
postgres-db: ~
11 changes: 0 additions & 11 deletions docker-compose/stellio/kafka/update_run.sh

This file was deleted.

0 comments on commit 83008bc

Please sign in to comment.