Rename config
This commit is contained in:
parent
2ea41e1187
commit
e9ca874499
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|
||||||
/.env
|
/.env
|
||||||
|
/config.yml
|
||||||
/data/
|
/data/
|
||||||
!/data/.keep
|
!/data/.keep
|
||||||
|
|
|
@ -6,5 +6,5 @@ RUN apt-get install --yes python3 python3-pip
|
||||||
COPY requirements.txt /app/
|
COPY requirements.txt /app/
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
COPY mirrortea/* /app/mirrortea/
|
COPY mirrortea/* /app/mirrortea/
|
||||||
COPY config.yaml /app/
|
COPY config.yml /app/
|
||||||
ENTRYPOINT ["/usr/bin/python3", "/app/mirrortea"]
|
ENTRYPOINT ["/usr/bin/python3", "/app/mirrortea"]
|
||||||
|
|
|
@ -4,7 +4,7 @@ from messengers import Matrix as MatrixLoop, Telegram as TelegramLoop
|
||||||
|
|
||||||
from config_dataclass import Config
|
from config_dataclass import Config
|
||||||
|
|
||||||
CONFIG_FILE_NAME = "config.yaml"
|
CONFIG_FILE_NAME = 'config.yml'
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Reference in a new issue