Rename docs.yml to docker-compose.docs.yml

This commit is contained in:
Matthew Foster Walsh 2024-04-15 13:25:11 -04:00
parent 1a8617a548
commit 74fdd96154
No known key found for this signature in database
8 changed files with 8 additions and 8 deletions

View File

@ -67,11 +67,11 @@ To run in a detached (background) mode, just::
These commands don't run the docs service. In order to run docs service you can run::
$ docker compose -f docs.yml up
$ docker compose -f docker-compose.docs.yml up
To run the docs with local services just use::
$ docker compose -f docker-compose.local.yml -f docs.yml up
$ docker compose -f docker-compose.local.yml -f docker-compose.docs.yml up
The site should start and be accessible at http://localhost:3000 if you selected Webpack or Gulp as frontend pipeline and http://localhost:8000 otherwise.

View File

@ -11,7 +11,7 @@ After you have set up to `develop locally`_, run the following command from the
If you set up your project to `develop locally with docker`_, run the following command: ::
$ docker compose -f docs.yml up
$ docker compose -f docker-compose.docs.yml up
Navigate to port 9000 on your host to see the documentation. This will be opened automatically at `localhost`_ for local, non-docker development.

View File

@ -43,7 +43,7 @@ docker compose -f docker-compose.local.yml run \
django python manage.py check --settings=config.settings.production --deploy --database default --fail-level WARNING
# Generate the HTML for the documentation
docker compose -f docs.yml run docs make html
docker compose -f docker-compose.docs.yml run docs make html
# Run npm build script if package.json is present
if [ -f "package.json" ]

View File

@ -32,7 +32,7 @@ steps:
DATABASE_URL: pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB
commands:
- docker-compose -f docker-compose.local.yml build
- docker-compose -f docs.yml build
- docker-compose -f docker-compose.docs.yml build
- docker-compose -f docker-compose.local.yml run --rm django python manage.py migrate
- docker-compose -f docker-compose.local.yml up -d
- docker-compose -f docker-compose.local.yml run django pytest

View File

@ -72,7 +72,7 @@ jobs:
run: docker compose -f docker-compose.local.yml build django
- name: Build the docs
run: docker compose -f docs.yml build docs
run: docker compose -f docker-compose.docs.yml build docs
- name: Run DB Migrations
run: docker compose -f docker-compose.local.yml run --rm django python manage.py migrate

View File

@ -34,7 +34,7 @@ pytest:
- docker:dind
before_script:
- docker compose -f docker-compose.local.yml build
- docker compose -f docs.yml build
- docker compose -f docker-compose.docs.yml build
# Ensure celerybeat does not crash due to non-existent tables
- docker compose -f docker-compose.local.yml run --rm django python manage.py migrate
- docker compose -f docker-compose.local.yml up -d

View File

@ -20,7 +20,7 @@ jobs:
- docker compose -v
- docker -v
- docker compose -f docker-compose.local.yml build
- docker compose -f docs.yml build
- docker compose -f docker-compose.docs.yml build
# Ensure celerybeat does not crash due to non-existent tables
- docker compose -f docker-compose.local.yml run --rm django python manage.py migrate
- docker compose -f docker-compose.local.yml up -d