mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-13 05:06:19 +01:00
When configuring iocaine via environment variables, sections and settings were separated by two underlines, but the `IOCAINE_` prefix only had one. This felt weird, so now iocaine supports an `IOCAINE__` prefix too, and keeps recognizing the old one too. Documentation and examples updated to use the new naming. No mention of the backwards compatibility - I'll just silently support that. Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
16 lines
489 B
YAML
16 lines
489 B
YAML
# SPDX-FileCopyrightText: 2025 Gergely Nagy
|
|
# SPDX-FileContributor: Gergely Nagy
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
services:
|
|
iocaine:
|
|
image: git.madhouse-project.org/algernon/iocaine:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- '127.0.0.1:42069:42069'
|
|
volumes:
|
|
- ./container-volume:/data
|
|
environment:
|
|
- IOCAINE__SERVER__BIND="0.0.0.0:42069"
|
|
- IOCAINE__SOURCES__WORDS="/data/wordlist.txt"
|
|
- IOCAINE__SOURCES__MARKOV=["/data/training-text.txt"]
|