iocaine/data/compose.yaml
Gergely Nagy e3306e7998
Slight environment variable adjustment
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>
2025-01-25 02:16:06 +01:00

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"]