This repository contains a Java Spring Boot service image designed to run alongside the dictionaries Docker image. It provides two REST endpoints:
Running in Docker with security and CORS disabled.
docker run -p 8080:8080 \
-e SPRING_DATASOURCE_URL=jdbc:postgresql://localhost:5432/dictionaries \
-e SPRING_DATASOURCE_USERNAME=translator \
-e SPRING_DATASOURCE_PASSWORD=secret \
trinimon/dictionary-service
In order to enable security add:
SECURITY_ENABLED=true
KEYCLOAK_ISSUER_URI=<scheme>://<host>:<port>/realms/<realm>
OAUTH2_AUDIENCE=<audience>
CORS can be configured for instance by:
CORS_ENABLED=true
CORS_ALLOWED_ORIGINS=http://<hostname>:<port>,http://<ip>:<port>
Content type
Image
Digest
sha256:88b482406…
Size
102.7 MB
Last updated
12 days ago
docker pull trinimon/dictionary-service