Sha256: 4895a57306ec5cdfbca6cd5f605d706306aa81103513e55a6a5f0a54879483bd

Contents?: true

Size: 999 Bytes

Versions: 108

Compression:

Stored size: 999 Bytes

Contents

stack: user/stackname
version: 0.1.1
variables:
  db:
    type: enum
    required: true
    options:
      - value: mysql
        label: MySQL
        description: Regular MySQL
      - value: galera
        label: Galera cluster
        description: A mega super galera cluster
    from: prompt
  GALERA_NODES:
    type: integer
    min: 1
    from:
      prompt: Number of Galera nodes
    only_if:
      db: galera
  no_wp:
    type: boolean
    as: boolean # default boolean output is string
    from:
      prompt: Skip wordpress?
services:
  wordpress:
    skip_if: no_wp
    extends:
      file: docker-compose_v2.yml
      service: wordpress
    image: wordpress
    stateful: true
    deploy:
      strategy: ha
  mysql:
    only_if:
      db: mysql
    extends:
      file: docker-compose_v2.yml
      service: mysql
    image: mysql
  galera:
    only_if:
      db: galera
    extends:
      file: docker-compose_v2.yml
      service: mysql
    image: galera
    instances: $GALERA_NODES

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
kontena-cli-1.5.4 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.4.rc1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.3 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.2 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.0 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.0.rc1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.0.pre5 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.0.pre4 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.0.pre3 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.0.pre2 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.5.0.pre1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.4.3 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.4.3.rc1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.4.2 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.4.2.rc1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.4.2.pre1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.4.1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.4.1.rc1 spec/fixtures/stack-with-ifs.yml
kontena-cli-1.4.1.pre1 spec/fixtures/stack-with-ifs.yml