24 lines
652 B
YAML
24 lines
652 B
YAML
services:
|
|
slhaf-hub:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
BUILD_IMAGE: ${BUILD_IMAGE:-gradle:9.0.0-jdk17}
|
|
RUNTIME_IMAGE: ${RUNTIME_IMAGE:-eclipse-temurin:17-jre}
|
|
image: slhaf-hub:latest
|
|
container_name: slhaf-hub
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HOST_PORT:-8080}:8080"
|
|
environment:
|
|
HOST_API_TOKEN: ${HOST_API_TOKEN:-}
|
|
MAX_RUN_CONCURRENCY: ${MAX_RUN_CONCURRENCY:-}
|
|
volumes:
|
|
- ./scripts:/app/scripts
|
|
command:
|
|
- "--host=0.0.0.0"
|
|
- "--port=8080"
|
|
- "--scripts-dir=/app/scripts"
|
|
- "--max-run-concurrency=${MAX_RUN_CONCURRENCY:-}"
|