rsadasdasdas
This commit is contained in:
@@ -14,6 +14,28 @@ services:
|
||||
volumes:
|
||||
- puzzles_data:/data/puzzles:rw
|
||||
|
||||
update_hints:
|
||||
build:
|
||||
context: tools/hint
|
||||
dockerfile: Dockerfile
|
||||
container_name: update_hints
|
||||
command: ["3000"] # overrides CMD if you want
|
||||
restart: "no"
|
||||
networks: [ traefik_net ]
|
||||
environment:
|
||||
TZ: Europe/Amsterdam
|
||||
|
||||
# schedule + batch size
|
||||
CRON_SCHEDULE: "*/15 * * * *"
|
||||
LIMIT: "3000"
|
||||
|
||||
# DB + LLM (only works if you apply the Java env() tweak above)
|
||||
JDBC_URL: "jdbc:postgresql://192.168.1.159:5432/postgres"
|
||||
JDBC_USER: "puzzle"
|
||||
JDBC_PASS: "heel-goed-wachtwoord"
|
||||
OLLAMA_URL: "http://192.168.1.159:8081/v1/chat/completions"
|
||||
MODEL: "/models/Hadiseh-Mhd/Mixtral-8x7B-Instruct-v0.1-Q4_K_M-GGUF/mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf"
|
||||
|
||||
puzzle_gen_java:
|
||||
build:
|
||||
context: ${PUZZLE_ROOT_DIR:-/opt/apps/puzzle}
|
||||
|
||||
Reference in New Issue
Block a user