[Unit] Description=Lakehouse Gateway After=network.target ollama.service [Service] Type=simple WorkingDirectory=/home/profit/lakehouse ExecStart=/home/profit/lakehouse/target/release/gateway Restart=always RestartSec=5 Environment=RUST_LOG=info # Lance S3 support — connects to MinIO via the AWS SDK env vars. # AWS_ALLOW_HTTP required for non-TLS MinIO endpoints. Environment=AWS_ACCESS_KEY_ID=profit Environment=AWS_SECRET_ACCESS_KEY=29IgevhKQjE2WHg088ieI1wP Environment=AWS_ENDPOINT=http://localhost:9000 Environment=AWS_ALLOW_HTTP=true Environment=AWS_DEFAULT_REGION=us-east-1 # Langfuse keys — shared with lakehouse-langfuse-bridge.service so the # gateway-side emitter (`/v1/chat`, `/v1/respond`) and the observer # ingest path see the same project. Leading `-` makes missing-file a # warn-not-fatal so gateway still starts if Langfuse is torn down. EnvironmentFile=-/etc/lakehouse/langfuse.env [Install] WantedBy=multi-user.target