Skip to content

Commit 8e0248c

Browse files
andrewm4894claude
andcommitted
Update docs site to reflect gRPC-free default architecture
- Remove outdated gRPC Code Server references from architecture diagrams - Update Fly.io deployment docs to show direct Python module loading - Remove DAGSTER_CODE_SERVER_HOST from environment variable lists - Add informational note about architecture simplification in deployment overview - Maintain backward compatibility information for users who need gRPC 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent d6bbadc commit 8e0248c

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

docs/docs/deployment/fly.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ graph TB
4242
4343
subgraph "Fly.io VM Container"
4444
DASH[📊 Dashboard<br/>Port 8080<br/><i>Public</i>]
45-
WEB[⚙️ Dagster Webserver<br/>Port 3000<br/><i>Protected</i>]
45+
WEB[⚙️ Dagster Webserver + User Code<br/>Port 3000<br/><i>Protected</i><br/><i>Direct Python Module Loading</i>]
4646
DAEMON[🔄 Dagster Daemon<br/>Background Jobs]
47-
CODE[📦 Code Server<br/>Port 4000<br/>Internal]
4847
end
4948
5049
subgraph "Fly.io Services"
@@ -55,11 +54,8 @@ graph TB
5554
ADMIN --> PROXY
5655
PROXY -->|"/ (no auth)"| DASH
5756
PROXY -->|"/dagster (basic auth)"| WEB
58-
WEB --> CODE
59-
DAEMON --> CODE
6057
WEB --> VOL
6158
DAEMON --> VOL
62-
CODE --> VOL
6359
```
6460

6561
### Security Model
@@ -706,7 +702,6 @@ The deployment script intelligently handles your `.env` file with smart filterin
706702
- `ANOMSTACK_MODEL_PATH=./tmp/...` - Local model storage
707703
- `ANOMSTACK_HOME=.` - Current directory reference
708704
- `ANOMSTACK_POSTGRES_FORWARD_PORT` - Local port forwarding
709-
- `DAGSTER_CODE_SERVER_HOST=anomstack_code` - Docker Compose specific
710705
- `ANOMSTACK_DASHBOARD_PORT` - Local dashboard port
711706

712707
**Variables that are DEPLOYED:**
@@ -723,12 +718,12 @@ These values are automatically set for Fly.io deployment (regardless of your `.e
723718

724719
```bash
725720
DAGSTER_HOME="/opt/dagster/dagster_home"
726-
DAGSTER_CODE_SERVER_HOST="localhost"
727721
ANOMSTACK_DUCKDB_PATH="/data/anomstack.db" # Persistent volume
728722
ANOMSTACK_MODEL_PATH="local:///data/models" # Persistent volume
729723
ANOMSTACK_TABLE_KEY="metrics" # Simplified table key
730724
ANOMSTACK_IGNORE_EXAMPLES="no" # Enable examples
731725
PYTHONPATH="/opt/dagster/app" # Container path
726+
DAGSTER_WORKSPACE_FORCE_RELOAD="true" # Force fresh workspace loading
732727
```
733728

734729
### 🔐 Security Features

docs/docs/deployment/overview.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ sidebar_position: 1
66

77
Anomstack offers flexible deployment options to fit different organizational needs and infrastructure requirements. This page helps you choose the right deployment pattern for your use case.
88

9+
:::info Architecture Simplification
10+
🎉 **Anomstack now uses gRPC-free architecture by default!** This means simpler deployment, better reliability, and no separate code server needed. User code is loaded directly as Python modules within the Dagster webserver.
11+
12+
For advanced use cases requiring separate gRPC code servers, see our [Architecture documentation](../../../ARCHITECTURE.md#advanced-grpc-code-server-optional) for optional configuration.
13+
:::
14+
915
## Deployment Modes
1016

1117
### 🎯 Full Stack Deployment
@@ -22,12 +28,11 @@ graph TB
2228
2329
subgraph "Application Layer"
2430
DASH[📊 FastHTML Dashboard<br/>Port 8080]
25-
DAGSTER[⚙️ Dagster UI<br/>Port 3000]
26-
CODE[📦 Code Server<br/>Port 4000]
31+
DAGSTER[⚙️ Dagster Webserver + User Code<br/>Port 3000<br/><i>Direct Python Module Loading</i>]
2732
end
2833
2934
subgraph "Data Layer"
30-
DB[(🗄️ PostgreSQL<br/>Metadata)]
35+
DB[(🗄️ SQLite/PostgreSQL<br/>Metadata)]
3136
DUCKDB[(🦆 DuckDB<br/>Metrics)]
3237
MODELS[📁 Model Storage<br/>Local/S3/GCS]
3338
end
@@ -41,14 +46,13 @@ graph TB
4146
4247
USERS --> DASH
4348
ADMIN --> DAGSTER
44-
DAGSTER --> CODE
45-
DASH --> CODE
46-
CODE --> DB
47-
CODE --> DUCKDB
48-
CODE --> MODELS
49-
CODE --> EMAIL
50-
CODE --> SLACK
51-
CODE --> SOURCES
49+
DAGSTER --> DB
50+
DAGSTER --> DUCKDB
51+
DAGSTER --> MODELS
52+
DAGSTER --> EMAIL
53+
DAGSTER --> SLACK
54+
DAGSTER --> SOURCES
55+
DASH --> DUCKDB
5256
```
5357

5458
**✅ Best for:**

0 commit comments

Comments
 (0)