From b2c531c589683f25529b2e5fccd4342cbad85c46 Mon Sep 17 00:00:00 2001 From: Vincent Fiduccia Date: Tue, 24 Oct 2023 13:49:39 -0700 Subject: [PATCH] Syntax highlighting (#6) --- Acornfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Acornfile b/Acornfile index 54585c2..895c70c 100644 --- a/Acornfile +++ b/Acornfile @@ -85,21 +85,23 @@ localData: probeExecCommand: [ localData: info: """ ## Usage +```aml services: db: { external: "@{acorn.name}" } containers: app: { - image: "app-image" + image: "app-image" consumes: ["db"] env: { - DB_HOST: "@{@{service.}db.address}" - DB_PORT: "@{@{service.}db.port.3306}" - DB_NAME: "@{@{service.}db.data.dbName}" - DB_ADMIN_USER: "@{@{service.}db.secrets.admin.username}" - DB_ADMIN_PASS: "@{@{service.}db.secrets.admin.password}" - DB_USER: "@{@{service.}db.secrets.user.username}" - DB_PASS: "@{@{service.}db.secrets.user.password}" + DB_HOST: "@{@{service.}db.address}" + DB_PORT: "@{@{service.}db.port.3306}" + DB_NAME: "@{@{service.}db.data.dbName}" + DB_ADMIN_USER: "@{@{service.}db.secrets.admin.username}" + DB_ADMIN_PASS: "@{@{service.}db.secrets.admin.password}" + DB_USER: "@{@{service.}db.secrets.user.username}" + DB_PASS: "@{@{service.}db.secrets.user.password}" } } +``` """