From c6c0159ee43e743faa0d0fd472da63c39c9552ea Mon Sep 17 00:00:00 2001 From: sadnub Date: Tue, 1 Feb 2022 22:20:11 -0500 Subject: [PATCH] remove mkdocs container from docker dev --- .devcontainer/.env.example | 2 +- .devcontainer/docker-compose.yml | 13 ------------- .devcontainer/entrypoint.sh | 5 ----- 3 files changed, 1 insertion(+), 19 deletions(-) diff --git a/.devcontainer/.env.example b/.devcontainer/.env.example index b92a9e98..a9fa3b37 100644 --- a/.devcontainer/.env.example +++ b/.devcontainer/.env.example @@ -23,7 +23,7 @@ POSTGRES_USER=postgres POSTGRES_PASS=postgrespass # DEV SETTINGS -APP_PORT=80 +APP_PORT=443 API_PORT=80 HTTP_PROTOCOL=https DOCKER_NETWORK=172.21.0.0/24 diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 925089b4..4a987007 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -231,19 +231,6 @@ services: volumes: - tactical-data-dev:/opt/tactical - mkdocs-dev: - container_name: trmm-mkdocs-dev - image: api-dev - restart: always - user: 1000:1000 - command: [ "tactical-mkdocs-dev" ] - ports: - - "8005:8005" - volumes: - - ..:/workspace:cached - networks: - - dev - volumes: tactical-data-dev: null postgres-data-dev: null diff --git a/.devcontainer/entrypoint.sh b/.devcontainer/entrypoint.sh index da025c2c..7bbd3061 100644 --- a/.devcontainer/entrypoint.sh +++ b/.devcontainer/entrypoint.sh @@ -175,8 +175,3 @@ if [ "$1" = 'tactical-websockets-dev' ]; then check_tactical_ready "${VIRTUAL_ENV}"/bin/daphne tacticalrmm.asgi:application --port 8383 -b 0.0.0.0 fi - -if [ "$1" = 'tactical-mkdocs-dev' ]; then - cd "${WORKSPACE_DIR}/docs" - "${VIRTUAL_ENV}"/bin/mkdocs serve -fi