snapshot
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -4,5 +4,9 @@ storage/
|
|||||||
.ipynb_checkpoints/
|
.ipynb_checkpoints/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
trash/
|
trash/
|
||||||
|
src/.telemetry/
|
||||||
|
src/history/
|
||||||
|
src/logs/
|
||||||
|
src/schedules/
|
||||||
db/
|
db/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ FROM python:3.12-slim
|
|||||||
COPY dagster-requirements.txt requirements.txt
|
COPY dagster-requirements.txt requirements.txt
|
||||||
RUN pip install uv
|
RUN pip install uv
|
||||||
RUN uv pip install -r requirements.txt --system
|
RUN uv pip install -r requirements.txt --system
|
||||||
|
RUN uv pip install polars-lts-cpu --system
|
||||||
|
|
||||||
# Add repository code
|
# Add repository code
|
||||||
WORKDIR /opt/dagster/home
|
WORKDIR /opt/dagster/home
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ FROM python:3.12-slim
|
|||||||
COPY dagster-requirements.txt requirements.txt
|
COPY dagster-requirements.txt requirements.txt
|
||||||
RUN pip install uv
|
RUN pip install uv
|
||||||
RUN uv pip install -r requirements.txt --system
|
RUN uv pip install -r requirements.txt --system
|
||||||
|
RUN uv pip install polars-lts-cpu --system
|
||||||
|
|
||||||
# Set $DAGSTER_HOME and copy dagster instance and workspace YAML there
|
# Set $DAGSTER_HOME and copy dagster instance and workspace YAML there
|
||||||
ENV DAGSTER_HOME=/opt/dagster/home/
|
ENV DAGSTER_HOME=/opt/dagster/home/
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
telemetry:
|
telemetry:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
default_op_concurrency_limit: 2
|
||||||
|
|
||||||
run_coordinator:
|
run_coordinator:
|
||||||
module: dagster.core.run_coordinator
|
module: dagster.core.run_coordinator
|
||||||
class: QueuedRunCoordinator
|
class: QueuedRunCoordinator
|
||||||
@@ -19,9 +23,9 @@ run_launcher:
|
|||||||
- /opt/dagster/src/app/:/opt/dagster/home/app/
|
- /opt/dagster/src/app/:/opt/dagster/home/app/
|
||||||
- /opt/dagster/src/repo.py:/opt/dagster/home/repo.py
|
- /opt/dagster/src/repo.py:/opt/dagster/home/repo.py
|
||||||
|
|
||||||
# - /opt/dagster/storage/:/opt/dagster/home/storage/
|
|
||||||
- /opt/dagster/storage/import/:/opt/dagster/home/storage/import/
|
- /opt/dagster/storage/import/:/opt/dagster/home/storage/import/
|
||||||
- /opt/dagster/storage/deals/:/opt/dagster/home/storage/deals/
|
- /opt/dagster/storage/deals/:/opt/dagster/home/storage/deals/
|
||||||
|
|
||||||
- /opt/dagster/storage/:/opt/dagster/home/storage/
|
- /opt/dagster/storage/:/opt/dagster/home/storage/
|
||||||
|
|
||||||
run_storage:
|
run_storage:
|
||||||
|
|||||||
@@ -17,18 +17,11 @@ x-volumes: &volumes
|
|||||||
- /opt/dagster/workspace.yaml:/opt/dagster/home/workspace.yaml
|
- /opt/dagster/workspace.yaml:/opt/dagster/home/workspace.yaml
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
||||||
# - /opt/dagster/storage/:/opt/dagster/home/storage/
|
|
||||||
- /opt/dagster/storage/import/:/opt/dagster/home/storage/import/
|
- /opt/dagster/storage/import/:/opt/dagster/home/storage/import/
|
||||||
- /opt/dagster/storage/deals/:/opt/dagster/home/storage/deals/
|
- /opt/dagster/storage/deals/:/opt/dagster/home/storage/deals/
|
||||||
|
|
||||||
- /opt/dagster/src/app/:/opt/dagster/home/app/
|
- /opt/dagster/src/app/:/opt/dagster/home/app/
|
||||||
- /opt/dagster/src/repo.py:/opt/dagster/home/repo.py
|
- /opt/dagster/src/repo.py:/opt/dagster/home/repo.py
|
||||||
# - /opt/homebrew/Caskroom/mambaforge/base/envs:/opt/homebrew/Caskroom/mambaforge/base/envs
|
|
||||||
|
|
||||||
# Towel
|
|
||||||
# - /opt/dagster/src/towel.py:/opt/dagster/home/towel.py
|
|
||||||
# - /Users/rik/Seafile/Code/company/navara/Klanten/Eneco/towel/towel:/opt/dagster/home/app/towel
|
|
||||||
# - /Users/rik/Library/Caches/pypoetry/virtualenvs/towel-V7mtCF2c-py3.9:/venv/towel
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# This service runs the postgres DB used by dagster for run storage, schedule storage,
|
# This service runs the postgres DB used by dagster for run storage, schedule storage,
|
||||||
|
|||||||
@@ -1,27 +1,4 @@
|
|||||||
load_from:
|
load_from:
|
||||||
- grpc_server:
|
- grpc_server:
|
||||||
location_name: example
|
|
||||||
host: user_code
|
host: user_code
|
||||||
port: 4000
|
port: 4000
|
||||||
|
|
||||||
# - python_file:
|
|
||||||
# location_name: local
|
|
||||||
# relative_path: repo.py
|
|
||||||
# working_directory: /opt/dagster/home
|
|
||||||
|
|
||||||
# - grpc_server:
|
|
||||||
# location_name: other
|
|
||||||
# host: other_image
|
|
||||||
# port: 4000
|
|
||||||
|
|
||||||
# - python_file:
|
|
||||||
# location_name: towel
|
|
||||||
# relative_path: towel.py
|
|
||||||
# working_directory: /opt/dagster/home
|
|
||||||
# executable_path: /venv/towel/bin/python
|
|
||||||
|
|
||||||
# - python_file:
|
|
||||||
# location_name: alliander
|
|
||||||
# relative_path: towel.py
|
|
||||||
# working_directory: /opt/dagster/home
|
|
||||||
# executable_path: /venv/alliander/bin/python
|
|
||||||
|
|||||||
Reference in New Issue
Block a user