Files
templates/blueprints/opencode/template.toml
T

22 lines
660 B
TOML

[variables]
main_domain = "${domain}"
opencode_password = "${password:32}"
[config]
[[config.domains]]
serviceName = "opencode"
port = 4096
host = "${main_domain}"
https = true
[config.env]
OPENCODE_SERVER_USERNAME = "opencode"
OPENCODE_SERVER_PASSWORD = "${opencode_password}"
# Packages installed in the container at start-up (Alpine apk).
# Set to "" to keep the minimal image, or adapt to your stack (e.g. "git go").
TOOLCHAIN_PACKAGES = "git nodejs npm python3"
# Optional: clone a repository into /workspace on start-up.
# Leave GIT_REPO_URL empty to skip. Set GIT_TOKEN (GitHub PAT, Contents: read) for private repos.
GIT_REPO_URL = ""
GIT_TOKEN = ""