mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 22:31:07 +00:00
c013942d1f
* fix: use docker volumes remove bind mount use docker volumes * ci: remove payments app from tests
31 lines
693 B
YAML
31 lines
693 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
database:
|
|
container_name: mariadb-database
|
|
image: mariadb:10.6
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: mysqladmin ping -h localhost --password=${DB_PASSWORD:-changeit}
|
|
interval: 1s
|
|
retries: 15
|
|
command:
|
|
- --character-set-server=utf8mb4
|
|
- --collation-server=utf8mb4_unicode_ci
|
|
- --skip-character-set-client-handshake
|
|
- --skip-innodb-read-only-compressed
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-changeit}
|
|
volumes:
|
|
- db-data:/var/lib/mysql
|
|
networks:
|
|
- mariadb-network
|
|
|
|
networks:
|
|
mariadb-network:
|
|
name: mariadb-network
|
|
external: false
|
|
|
|
volumes:
|
|
db-data:
|