mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-14 00:54:07 +00:00
28 lines
658 B
YAML
28 lines
658 B
YAML
services:
|
|
configurator:
|
|
environment:
|
|
DB_HOST: db
|
|
DB_PORT: 3306
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
|
|
db:
|
|
image: mariadb:10.6
|
|
healthcheck:
|
|
test: mysqladmin ping -h localhost --password=${DB_PASSWORD}
|
|
interval: 1s
|
|
retries: 15
|
|
command:
|
|
- --character-set-server=utf8mb4
|
|
- --collation-server=utf8mb4_unicode_ci
|
|
- --skip-character-set-client-handshake
|
|
- --skip-innodb-read-only-compressed # Temporary fix for MariaDB 10.6
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:?No db password set}
|
|
volumes:
|
|
- db-data:/var/lib/mysql
|
|
|
|
volumes:
|
|
db-data:
|