Skip to content

Commit

Permalink
fix(Containerfile): Change port to 4266
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Jan 21, 2025
1 parent 4695f7b commit 3c3fe34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ COPY pyproject.toml /opt/dagster/app
# DagsterInstance.
RUN uv sync

EXPOSE 4000
EXPOSE 4266

# Using CMD rather than RUN allows the command to be overridden in
# run launchers or executors to run other commands using this image.
# This is important as runs are executed inside this container.
ENTRYPOINT ["uv", "run"]
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "4000", "-m", "dagster_dags"]
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "4266", "-m", "dagster_dags"]

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $ docker pull ghcr.io/openclimatefix/dagster-dags

```bash
$ docker run -d \
-p 4000:4000 \
-p 4266:4266 \
-e DAGSTER_CURRENT_IMAGE=ghcr.io/openclimatefix/dagster-dags \
ghcr.io/openclimatefix/dagster-dags
```
Expand All @@ -41,7 +41,7 @@ $ docker run -d \
load_from:
- grpc_server:
host: localhost
port: 4000
port: 4266
location_name: "dagster-dags" # Name of the module
```
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ configs:
load_from:
- grpc_server:
host: "dagster-codeserver"
port: 4000
port: 4266
location_name: "dagster_dags"
dagster.yaml:
Expand Down

0 comments on commit 3c3fe34

Please sign in to comment.