Incus-compose - the missing docker-compose for incus

I’m already using seeding to insert the first config for example into a container volume.

But inflating as you suggested is a different thing and I think important, if you wanna mount a containers directory like an overlay in docker.

You guys might like the now correctly working secrets feature in the upcoming v1.0.0-rc.1.

It’s now works under high load correctly, thanks to sFTP.

And I fixed some bugs ( wrong paths and wrong taking the os-env instead project env )

services:
  mariadb:
    image: library/mariadb:12
    container_name: mariadb
    volumes:
      - mariadb:/var/lib/mysql
    environment:
      - MARIADB_DATABASE=${DB_NAME}
      - MARIADB_USER=${DB_USER}
      - MARIADB_PASSWORD_FILE=/run/secrets/db-password
      - MARIADB_ROOT_PASSWORD_FILE=/run/secrets/db-root-password
    secrets:
      - db-password
      - db-root-password
      - source: db-my-cnf
        target: /root/.my.cnf
    restart: unless-stopped
    healthcheck:
      test: mariadb-admin -uroot ping -h 127.0.0.1 --silent
      interval: 10s
      timeout: 5s
      retries: 12
      start_period: 30s

secrets:
  db-password:
    environment: DB_PASSWORD
  db-root-password:
    environment: DB_ROOT_PASSWORD
  db-my-cnf:
    environment: DB_MY_CNF

volumes:
  mariadb:
DB_NAME="kimai"
DB_USER="kimaiuser"
DB_PASSWORD="superSecret"
DB_ROOT_PASSWORD="superSecretRoot"

DB_MY_CNF="[client]
password=superSecretRoot

"

1 Like

The doc docs.incus-compose.org/compose-compatibility grown to a x-incus / x-incus-compose doc.

Anyone got a better name for it?

Btw. If you want to contribute to that wiki please let me know in a PM, I give you Editor rights.

v1.0.0-rc.2 is out.

Just to let you know.

2 Likes

Windows support - part of the upcoming v1.0.0

Just poked back in here after being out for a while and I’m so excited to see how far you’ve taken this @jochumdev! Can’t wait to give it a try, it looks like you’ve solved all of the really big problems.

1 Like

Thanks Brian your feedback is important for me!

v1.0.0 will be released today :slight_smile: Testing CI based releases atm.