Add config volume
This commit is contained in:
parent
918224d5f4
commit
f5c0da3858
2 changed files with 5 additions and 2 deletions
|
@ -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" ]
|
||||
|
|
3
config/config.conf_sample
Normal file
3
config/config.conf_sample
Normal file
|
@ -0,0 +1,3 @@
|
|||
debug_level='DEBUG'
|
||||
regexp_banned_host=['.*activitypub\-troll\.cf', '.*\.gab\.best']
|
||||
database_file='/config/mastodon-servers.db'
|
Loading…
Reference in a new issue