Skip to content
Snippets Groups Projects
molecule.yml 2.43 KiB
---

driver:
  name: docker

platforms:
  - name: ms0-${CI_PIPELINE_ID:-default}
    environment:
      HOSTALIASES: /etc/hosts.aliases
    image: registry.ubicast.net/docker/debian-systemd:latest
    command: /lib/systemd/systemd
    privileged: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      - data-${CI_PIPELINE_ID:-ha}:/data:rw
    tmpfs:
      - /tmp
      - /run
    groups:
      - mediaserver
      - live
      - celerity
  - name: ms1-${CI_PIPELINE_ID:-default}
    environment:
      HOSTALIASES: /etc/hosts.aliases
    image: registry.ubicast.net/docker/debian-systemd:latest
    command: /lib/systemd/systemd
    privileged: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      - data-${CI_PIPELINE_ID:-ha}:/data:rw
    tmpfs:
      - /tmp
      - /run
    groups:
      - mediaserver
      - live
  - name: ms2-${CI_PIPELINE_ID:-default}
    image: registry.ubicast.net/docker/debian-systemd:latest
    environment:
      HOSTALIASES: /etc/hosts.aliases
    command: /lib/systemd/systemd
    privileged: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      - data-${CI_PIPELINE_ID:-ha}:/data:rw
    tmpfs:
      - /tmp
      - /run
    groups:
      - mediaserver
      - live
  - name: db0-${CI_PIPELINE_ID:-default}
    image: registry.ubicast.net/docker/debian-systemd:latest
    command: /lib/systemd/systemd
    privileged: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    tmpfs:
      - /tmp
      - /run
    groups:
      - postgres
  - name: db1-${CI_PIPELINE_ID:-default}
    image: registry.ubicast.net/docker/debian-systemd:latest
    command: /lib/systemd/systemd
    privileged: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    tmpfs: