Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

feat(hcl): simplify service spec in HCL config #30

Merged
merged 1 commit into from
May 6, 2023
Merged

Conversation

tsirysndr
Copy link
Owner

@tsirysndr tsirysndr commented May 6, 2023

use new config format for service:

service "demo" {
  type = "exec"
  command = "ping $GITHUB_DOMAIN"
  working_dir = "/tmp"
  description = "Ping Service Example"
  depends_on = []
  env = {
    "GITHUB_DOMAIN" = "github.com"
  }
  autostart = true
  autorestart = false
  namespace = "demo_namespace"
  stdout = "/tmp/demo-stdout.log"
  stderr = "/tmp/demo-stderr.log"
}

@tsirysndr tsirysndr added the enhancement New feature or request label May 6, 2023
@tsirysndr tsirysndr self-assigned this May 6, 2023
@tsirysndr tsirysndr merged commit dd2d40e into master May 6, 2023
@tsirysndr tsirysndr deleted the service-spec branch May 6, 2023 21:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant