KNELPerf-ortools/-julia/-minizinc/-r, pinned images, shared workspace volume. First customer: Ultix scheduler CP-SAT models. Redmine: https://projects.knownelement.com/issues/927
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
# KNELPerf — performance-organization compute workbench [#927]
|
||||||
|
# Statistics + constraint-solving for fleet perf analysis (Ultix scheduler
|
||||||
|
# redesign first customer). Founder-directed naming: KNELPerf- prefix.
|
||||||
|
# Images are pinned versions (never :latest). Storage in named volumes.
|
||||||
|
name: knelperf
|
||||||
|
|
||||||
|
services:
|
||||||
|
ortools:
|
||||||
|
image: python:3.12.7-slim
|
||||||
|
container_name: KNELPerf-ortools
|
||||||
|
command: bash -c "pip install --no-cache-dir --root-user-action=ignore 'ortools==9.11.4210' 'pandas==2.2.3' 'numpy==2.1.3' && sleep infinity"
|
||||||
|
volumes:
|
||||||
|
- knelperf-workspace:/workspace
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
julia:
|
||||||
|
image: julia:1.10.9
|
||||||
|
container_name: KNELPerf-julia
|
||||||
|
command: bash -c "julia -e 'using Pkg; Pkg.add([\"JuMP\",\"HiGHS\",\"DataFrames\",\"StatsBase\",\"CSV\"])' && sleep infinity"
|
||||||
|
volumes:
|
||||||
|
- knelperf-workspace:/workspace
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
minizinc:
|
||||||
|
image: minizinc/minizinc:2.8.7
|
||||||
|
container_name: KNELPerf-minizinc
|
||||||
|
command: bash -c "minizinc --version && sleep infinity"
|
||||||
|
volumes:
|
||||||
|
- knelperf-workspace:/workspace
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
rstats:
|
||||||
|
image: rocker/r-ver:4.4.1
|
||||||
|
container_name: KNELPerf-r
|
||||||
|
command: bash -c "R -q -e 'install.packages(c(\"dplyr\",\"forecast\",\"lubridate\"), repos=\"https://cloud.r-project.org\")' && sleep infinity"
|
||||||
|
volumes:
|
||||||
|
- knelperf-workspace:/workspace
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
knelperf-workspace:
|
||||||
Reference in New Issue
Block a user