YAML manifests
A YAML manifest file has two sections:
apps
:The list of app definitions.
Each app starts with its identifier. This is used as its namespace for docker-compose.
Under the identifier you can declare the type of app with
type
; if not specified it will default totype: App
. See “App Types” for more details and additional arguments for the app definition.An app can also specify environment variables to pass to docker-compose, by setting
env
with a file path, a list of files, or key/value pairs.host
:The host definition.
There can be only one per manifest. Manifests which define a host cannot be used as a base manifest (see
extends
attribute).
For example:
apps:
traefik:
extends: git+https://github.com/radiac/docker0s-manifests.git@main#traefik
env_file: traefik.env
storage:
extends: ../apps/storage
website:
type: RepoApp
extends: "git+ssh://git@github.com:radiac/example.com.git@main"
env:
DOMAIN: example.radiac.net
host:
name: example.radiac.net