diff --git a/.envrc b/.envrc index 5cfc1c171e..d2078846cb 100644 --- a/.envrc +++ b/.envrc @@ -98,13 +98,6 @@ export PGPASSWORD=mysecretpassword export PGSSLMODE=disable export DB_MAX_CONNECTIONS=20 -# For exposing a locally running app to other machines via Tailscale -export TAILSCALE_HOSTNAME=$(hostname | awk '{gsub(/\.local$/,""); print tolower($0)}').truss.works.beta.tailscale.net -export TAILSCALE_CLIENT_ADDRESS="http://${TAILSCALE_HOSTNAME}:3000" -export TAILSCALE_VITE_API_ADDRESS="http://${TAILSCALE_HOSTNAME}:8080/api/v1" -export TAILSCALE_REACT_GRAPHQL_ADDRESS="http://${TAILSCALE_HOSTNAME}:8080/api/graph/query" -export TAILSCALE_MINIO_ADDRESS="http://${TAILSCALE_HOSTNAME}:9004" - export USE_TLS=false # Add local paths for binaries and scripts diff --git a/.spelling b/.spelling index a058559075..e92c5d1f52 100644 --- a/.spelling +++ b/.spelling @@ -131,7 +131,6 @@ ADR AWS SES auth -tailscale startup pkg 11.4. @@ -148,7 +147,6 @@ eua uncomment cypress_ci.yml cypress_local.yml -tailscale.yml ci_server_test.yml subfolder subfolders diff --git a/README.md b/README.md index 1738406723..fab2e494da 100644 --- a/README.md +++ b/README.md @@ -118,20 +118,6 @@ export OKTA_TEST_SECRET= These values can be found in 1Password under "CMS IDM Test Account". - - -### Accessing the application over Tailscale - -[Tailscale](https://tailscale.com) is a tool that provides secure networks -between devices and can be used to access locally running programs from other -machines without exposing ports on the open internet. It's a convenient -alternative to a traditional VPN. - -`scripts/dev tailscale` will configure and start the app so it can be accessed -over a Tailscale network. This is currently used by developers to perform -accessibility audits of locally running applications through JAWS on cloud -Windows instances. - ### Routes Debugging Setting the `DEBUG_ROUTES` environment variable, and upon startup, this will log diff --git a/docker-compose.tailscale.yml b/docker-compose.tailscale.yml deleted file mode 100644 index 6dbdfbcc56..0000000000 --- a/docker-compose.tailscale.yml +++ /dev/null @@ -1,10 +0,0 @@ -services: - easi: - environment: - - CLIENT_ADDRESS=$TAILSCALE_CLIENT_ADDRESS - - CLIENT_HOSTNAME - - MINIO_ADDRESS=$TAILSCALE_MINIO_ADDRESS - easi_client: - environment: - - VITE_API_ADDRESS=$TAILSCALE_VITE_API_ADDRESS - - VITE_GRAPHQL_ADDRESS=$TAILSCALE_REACT_GRAPHQL_ADDRESS diff --git a/docs/dev_script_usage.md b/docs/dev_script_usage.md index cef846aad1..e61f53f246 100644 --- a/docs/dev_script_usage.md +++ b/docs/dev_script_usage.md @@ -26,7 +26,6 @@ scripts/dev minio:pending # Mark all files in minio as pending (waiting scripts/dev prereqs # Check to see if the app's prerequisites are installed scripts/dev reset # Resets application to an empty state scripts/dev restart # Restart the specified container -scripts/dev tailscale # Run app and expose to other machines over Tailscale scripts/dev test # Run all tests in parallel scripts/dev test:go # Runs Go tests scripts/dev test:go:long # Runs Go tests, including long ones diff --git a/docs/docker_compose.md b/docs/docker_compose.md index 9eeeb1adc6..868474e1b0 100644 --- a/docs/docker_compose.md +++ b/docs/docker_compose.md @@ -9,7 +9,6 @@ docker-compose files exist to support different use cases and environments. | [docker-compose.override.yml](/docker-compose.override.yml) | Additional configuration for running the above services locally. Also adds configuration for `minio` service | | [docker-compose.cypress_ci.yml](/docker-compose.cypress_ci.yml) | Additional configuration for running end-to-end Cypress tests in Github Actions | | [docker-compose.cypress_local.yml](/docker-compose.cypress_local.yml) | Additional configuration for running end-to-end Cypress tests locally | -| [docker-compose.tailscale.yml](/docker-compose.tailscale.yml) | Additional configuration for using Tailscale to expose a locally-running application to other computers | [docker-compose.ci_server_test.yml](/docker-compose.ci_server_test.yml) | Additional configuration for running server-side tests in GitHub Actions ## Use case: Run database and database migrations locally diff --git a/scripts/dev b/scripts/dev index 443264ace1..9afb8d3359 100755 --- a/scripts/dev +++ b/scripts/dev @@ -212,17 +212,6 @@ task restart: :consume_args do |t, args| Rake::Task["up"].invoke end -desc "Run app and expose to other machines over Tailscale" -task :tailscale do - - puts "Running app on #{ENV["TAILSCALE_CLIENT_ADDRESS"]}" - environment = { - "COMPOSE_HTTP_TIMEOUT" => "120" - } - command = "docker compose --profile frontend -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.tailscale.yml up" - sh(environment, command, verbose: true) -end - namespace :docker do desc "Delete all dangling volumes" task :sweep do