aurweb/docker
Kevin Morris 2f9994807b
use Poetry to deal with deps and package install
As the new-age Python package manager, Poetry brings a lot
of good additions to the table. It allows us to more easily
deal with virtualenvs for the project and resolve dependencies.

As of this commit, `requirements.txt` is replaced by Poetry,
configured at `pyproject.toml`.

In Docker and GitLab, we currently use Poetry in a root fashion.
We should work toward purely using virtualenvs in Docker, but,
for now we'd like to move forward with other things. The project
can still be installed to a virtualenv and used on a user's system
through Poetry; it is just not yet doing so in Docker.

Modifications:

* docker/scripts/install-deps.sh
    * Remove python dependencies.
* conf/config.defaults
    * Script paths have been updated to use '/usr/bin'.
* docker/git-entrypoint.sh
    * Use '/usr/bin/aurweb-git-auth' instead of
      '/usr/local/bin/aurweb-git-auth'.

Additions:

* docker/scripts/install-python-deps.sh
    * A script used purely to install Python dependencies with Poetry.
      This has to be used within the aurweb project directory and
      requires system-wide dependencies are installed beforehand.
    * Also upgrades system-wide pip.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-09-04 15:46:40 -07:00
..
config Docker: remove asset forward to index.php 2021-06-29 10:30:26 -07:00
health docker-compose: add redis service 2021-08-17 19:58:26 -07:00
scripts use Poetry to deal with deps and package install 2021-09-04 15:46:40 -07:00
ca-entrypoint.sh Docker: add [c]git, nginx, fastapi, php-fpm, ca 2021-06-24 19:02:35 -07:00
ca.ext Docker: add [c]git, nginx, fastapi, php-fpm, ca 2021-06-24 19:02:35 -07:00
cgit-entrypoint.sh Docker: Fix git sshd 2021-06-27 05:16:12 -07:00
fastapi-entrypoint.sh docker-compose: add redis service 2021-08-17 19:58:26 -07:00
git-entrypoint.sh use Poetry to deal with deps and package install 2021-09-04 15:46:40 -07:00
hypercorn.env Docker: add .env configurable FASTAPI_BACKEND 2021-06-24 21:31:49 -07:00
logging.conf Docker: add [c]git, nginx, fastapi, php-fpm, ca 2021-06-24 19:02:35 -07:00
mariadb-entrypoint.sh Docker: support both '%' and 'localhost' in mariadb 2021-08-08 21:46:46 -07:00
nginx-entrypoint.sh Docker: move nginx config to its own file 2021-06-29 10:27:45 -07:00
php-entrypoint.sh Docker: add service 'memcached' 2021-08-16 22:09:09 -07:00
redis-entrypoint.sh docker-compose: add redis service 2021-08-17 19:58:26 -07:00
smartgit-entrypoint.sh Docker: Fix git sshd 2021-06-27 05:16:12 -07:00
test-mysql-entrypoint.sh Docker: Improve mariadb init 2021-06-29 21:49:57 -07:00
test-sqlite-entrypoint.sh Improve Docker ecosystem 2021-06-24 19:02:35 -07:00
tests-entrypoint.sh Improve Docker ecosystem 2021-06-24 19:02:35 -07:00