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

Commit

Permalink
Syntax highlighting (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent99 authored Oct 24, 2023
1 parent a3b27b3 commit b2c531c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Acornfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
}
```
"""

0 comments on commit b2c531c

Please sign in to comment.