Created
May 24, 2023 16:28
Star
You must be signed in to star a gist
Dagster service and daemon configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DAGSTER.SERVICE | |
[Unit] | |
Description=Dagster Service | |
After=network.target | |
[Service] | |
Type=simple | |
User=ubuntu | |
Restart=always | |
WorkingDirectory=/opt/dagster | |
ExecStart=/home/ubuntu/.local/bin/dagster-daemon run | |
Environment="PATH=/home/ubuntu/.local/bin" | |
Environment="DAGSTER_HOME=/opt/dagster" | |
Environment="PATH=/usr/bin | |
[Install] | |
WantedBy=multi-user.target | |
DAGIT.SERVICE | |
[Unit] | |
Description=Dagster dagit service the gui | |
After=dagster.service | |
[Service] | |
Type=simple | |
User=ubuntu | |
Restart=always | |
WorkingDirectory=/opt/dagster/FTS_Data_Science/dagster-jobs/ | |
ExecStart=/home/ubuntu/.local/bin/dagit -h 0.0.0.0 -p 3000 | |
Environment="PATH=/home/ubuntu/.local/bin" | |
Environment="DAGSTER_HOME=/opt/dagster" | |
[Install] | |
WantedBy=multi-user.target | |
DAEMON CONFIG | |
storage: | |
postgres: | |
postgres_db: | |
username: dagster_postgres | |
password: ***************** | |
hostname: dagster-postgresql.***********.us-west-2.rds.amazonaws.com | |
db_name: ************ | |
port: 5432 | |
# compute_logs: | |
# module: dagster_aws.s3.compute_log_manager | |
# class: S3ComputeLogManager | |
# config: | |
# bucket: "fts-dagster" | |
# prefix: "dagster-log-" | |
compute_logs: | |
module: dagster.core.storage.noop_compute_log_manager | |
class: "NoOpComputeLogManager" | |
local_artifact_storage: | |
module: dagster.core.storage.root | |
class: LocalArtifactStorage | |
config: | |
base_dir: "/opt/dagster/local/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment