diff --git a/apps/invoice-ninja/config.json b/apps/invoice-ninja/config.json index c2c5f2bd..3c50c776 100644 --- a/apps/invoice-ninja/config.json +++ b/apps/invoice-ninja/config.json @@ -5,7 +5,7 @@ "available": true, "exposable": true, "id": "invoice-ninja", - "tipi_version": 3, + "tipi_version": 4, "version": "5.8.57", "categories": ["finance"], "description": "Invoice Ninja is an invoicing application which makes sending invoices and receiving payments simple and easy. Our latest version is a clean slate rewrite of our popular invoicing application which builds on the existing feature set and adds a wide range of features and enhancements the community has asked for.", diff --git a/apps/invoice-ninja/docker-compose.yml b/apps/invoice-ninja/docker-compose.yml index 00804ea8..d417e28f 100644 --- a/apps/invoice-ninja/docker-compose.yml +++ b/apps/invoice-ninja/docker-compose.yml @@ -24,8 +24,7 @@ services: - ${APP_DATA_DIR}/data/php/php.ini:/usr/local/etc/php/php.ini:ro - ${APP_DATA_DIR}/data/php/php-cli.ini:/usr/local/etc/php/php-cli.ini:ro depends_on: - invoice-ninja-db: - condition: service_healthy + - invoice-ninja-db networks: - tipi_main_network @@ -85,12 +84,8 @@ services: depends_on: invoice-ninja-init: condition: service_completed_successfully - healthcheck: - test: ['CMD', 'healthcheck.sh', '--su-mysql', '--connect', '--innodb_initialized'] - interval: 10s - timeout: 5s - retries: 5 - start_period: 10s + # This command is required to set important mariadb defaults + command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci, --wait_timeout=28800, --log-warnings=0] invoice-ninja-init: image: bash:5.2.26