This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| 'version': 1, | |
| 'disable_existing_loggers': False, | |
| 'formatters': { | |
| 'verbose': { | |
| 'format': ('%(asctime)s [%(process)d] [%(levelname)s] ' + | |
| 'pathname=%(pathname)s lineno=%(lineno)s ' + | |
| 'funcname=%(funcName)s %(message)s'), | |
| 'datefmt': '%Y-%m-%d %H:%M:%S' | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Traceback (most recent call last): | |
| File "manage.py", line 15, in <module> | |
| execute_from_command_line(sys.argv) | |
| File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
| utility.execute() | |
| File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 357, in execute | |
| django.setup() | |
| File "/usr/local/lib/python3.7/site-packages/django/__init__.py", line 24, in setup | |
| apps.populate(settings.INSTALLED_APPS) | |
| File "/usr/local/lib/python3.7/site-packages/django/apps/registry.py", line 122, in populate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xhr.setRequestHeader('Authorization', 'Bearer ' + token) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SHELL=/bin/sh | |
| PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
| 5 0 * 8 * python3 /usr/src/app/my-script.py | |
| 0 0 * * * python3 /usr/src/app/send-sms.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM liararepo/django-platform | |
| RUN apt-get update && apt-get install -y --no-install-recommends cron \ | |
| && mv liara.cron /etc/cron.d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !vendor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM liararepo/django-platform | |
| # install google chrome | |
| RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
| RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| RUN apt-get -y update | |
| RUN apt-get install -y google-chrome-stable | |
| # install chromedriver | |
| RUN apt-get install -yqq unzip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| v=DKIM1; t=s; h=sha256; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC846RlaLEaVToDcCaF4HNckDkqKz498FOCX+GttnAdkC/VnITeuK0FuPcDtaBZII3Oji4dttUUqGiB9pkTKMZrNvfU4Z1JpgjSsoJrhaJQm73N1IWqgXYAUPM3WJS4FVzX5HWB83lBA4a68L3uM06QtmmM11V8YiR5HLEcfMilAQIDAQAB; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| v=DKIM1; t=s; h=sha256; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHyiJ9scMLD5fiO758dUu7f2ZkiB8RfSgkL37bOohc+bjVL7/Kd6lavb6gp1yz85knw/GWYisOXa748VLP8nIPJFXq6vxxMqdPuqlLOTr4/dKxnsG+wZnlpF0DNhuJTjLJofA/4L8wnqgX9BEs4i51Yl87AJWZwiXnjUW8OPD3awIDAQAB; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.7 | |
| WORKDIR /usr/src/app | |
| RUN apt-get update && apt-get install -y --no-install-recommends python-dev python3-dev build-essential | |
| COPY . . | |
| RUN pip install --disable-pip-version-check --no-cache-dir -r requirements.txt |