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