diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..bba4961 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,122 @@ +# ---> Python +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# pyenv +#.python-version + +# pipenv +#Pipfile.lock + +# poetry +#poetry.lock + +# pdm +#pdm.lock +.pdm.toml + +# PEP 582 +__pypackages__/ + +# Environments +.env* +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# IDE +.vscode/ +.idea/ + +# MySQL database +database/ diff --git a/.env b/.env index f815eb6..6209581 100644 --- a/.env +++ b/.env @@ -4,5 +4,5 @@ APP_PORT=8000 DB_HOST=${REPO_NAME_SNAKE}_db DB_PORT=3306 DB_USER=${REPO_NAME_SNAKE} -DB_PASSWORD= +DB_PASSWORD=password DB_DATABASE=${REPO_NAME_SNAKE} diff --git a/.env_db b/.env_db index bcaf662..4c307f9 100644 --- a/.env_db +++ b/.env_db @@ -1,5 +1,5 @@ MYSQL_PORT=3306 MYSQL_RANDOM_ROOT_PASSWORD=true MYSQL_USER=${REPO_NAME_SNAKE} -MYSQL_PASSWORD= +MYSQL_PASSWORD=password MYSQL_DATABASE=${REPO_NAME_SNAKE}