Add config volume

This commit is contained in:
Antonio J. Delgado 2024-01-29 15:34:54 +02:00
parent 918224d5f4
commit f5c0da3858
2 changed files with 5 additions and 2 deletions

View file

@ -6,6 +6,6 @@ COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN pip install .
VOLUME config
# CMD [ "python", "./your-daemon-or-script.py" ]
CMD [ "sh" ]
CMD [ "python", "/usr/local/bin/discover_mastodon_servers.py", "--config", "/config/config.conf" ]

View file

@ -0,0 +1,3 @@
debug_level='DEBUG'
regexp_banned_host=['.*activitypub\-troll\.cf', '.*\.gab\.best']
database_file='/config/mastodon-servers.db'