fix(invoice-ninja): db not accessable after restart (#3560)
This commit is contained in:
parent
cb5c1c3490
commit
d799d689fe
|
@ -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.",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user