From 036a17ad3bfe559bf600499c5199842a2a670fd1 Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Tue, 26 Dec 2023 19:34:09 +1000 Subject: [PATCH] note the container name changes after refactor --- docs/installation-containerized/docker.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation-containerized/docker.md b/docs/installation-containerized/docker.md index 7f1954ae..dc779f59 100644 --- a/docs/installation-containerized/docker.md +++ b/docs/installation-containerized/docker.md @@ -14,7 +14,7 @@ You should have the following available on the system you are using to set this 1. run `./scripts/prepare-env.sh` to set up your environment 1. (optional) Change `PROTOCOL` to `http://` if not using SSL in `.env` 1. run `docker-compose --env-file=.env up -d` (NOTE: if this command hangs, follow the instructions [here](https://www.digitalocean.com/community/tutorials/how-to-setup-additional-entropy-for-cloud-servers-using-haveged)) -1. run `docker-compose exec allianceauth bash` to open up a terminal inside your auth container +1. run `docker compose exec allianceauth-gunicorn bash` to open up a terminal inside your auth container 1. run `auth migrate` 1. run `auth collectstatic` 1. run `auth createsuperuser` @@ -57,7 +57,7 @@ Using a custom docker image is the preferred approach, as it gives you the stabi 1. Add each additional package that you want to install to a single line in `conf/requirements.txt`. It is recommended, but not required, that you include a version number as well. This will keep your packages from magically updating. You can lookup packages on , and copy everything after `pip install` from the top of the page to use the most recent version. It should look something like `allianceauth-signal-pings==0.0.7`. Every entry in this file should be on a separate line 1. In `docker-compose.yml`, comment out the `image` line under `allianceauth` (line 36... ish) and uncomment the `build` section 1. run `docker-compose --env-file=.env up -d`, your custom container will be built, and auth will have your new packages. Make sure to follow the package's instructions on config values that go in `local.py` -1. run `docker-compose exec allianceauth_gunicorn bash` to open up a terminal inside your auth container +1. run `docker compose exec allianceauth_gunicorn bash` to open up a terminal inside your auth container 1. run `allianceauth update myauth` 1. run `auth migrate` 1. run `auth collectstatic`