Gather data

This commit is contained in:
mike
2026-01-04 01:37:42 +01:00
parent 795067472f
commit 3e25ce3e1f
22 changed files with 233 additions and 1414 deletions

View File

@@ -1,18 +1,22 @@
services:
puzzle_gen:
puzzle_create_one:
build:
context: ${PUZZLE_ROOT_DIR:-/opt/apps/puzzle}
dockerfile: tools/puzzle-gen/Dockerfile
container_name: puzzle_gen
restart: unless-stopped
dockerfile: Dockerfile
container_name: puzzle_create_one
restart: "no"
networks: [ traefik_net ]
environment:
TZ: Europe/Amsterdam
OUT_DIR: /data/puzzle
WORDS_PATH: "/app/export_real_words_with_hints.csv"
LM_STUDIO_BASE_URL: "http://192.168.1.159:1234/v1"
PUZZLES_PER_DAY: "3"
GENERATE_ON_START: "true"
START_CLASS: "puzzle.Main"
SCORES_PATH: "/app/export_real_words_with_hints.csv"
volumes:
- puzzles_data:/data/puzzles:rw
- puzzles_data:/data/puzzle:rw
update_hints:
build:
@@ -45,13 +49,15 @@ services:
networks: [ traefik_net ]
environment:
TZ: Europe/Amsterdam
OUT_DIR: /data/puzzles
OUT_DIR: /data/puzzle
WORDS_PATH: "/app/export_real_words_with_hints.csv"
SCORES_PATH: "/app/export_real_words_with_hints.csv"
PUZZLES_PER_DAY: "3"
LM_STUDIO_BASE_URL: "http://192.168.1.159:1234/v1"
THEME_FILTER: "true"
THEME_MIN_SCORE: "0.6"
volumes:
- puzzles_data:/data/puzzles:rw
- puzzles_data:/data/puzzle:rw
volumes:
puzzles_data: