mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
9c8ca51d7b
The change splits a monolithic docker-compose.yml into multiple focused service files for better organization and maintainability, while retaining all original functionality.
16 lines
560 B
YAML
16 lines
560 B
YAML
services:
|
|
mariadb:
|
|
image: mariadb:10.11 # fix issues when upgrading using: mysql_upgrade -u root -p
|
|
container_name: appwrite-mariadb
|
|
networks:
|
|
- appwrite
|
|
volumes:
|
|
- appwrite-mariadb:/var/lib/mysql:rw
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${_APP_DB_ROOT_PASS}
|
|
- MYSQL_DATABASE=${_APP_DB_SCHEMA}
|
|
- MYSQL_USER=${_APP_DB_USER}
|
|
- MYSQL_PASSWORD=${_APP_DB_PASS}
|
|
- MARIADB_AUTO_UPGRADE=1
|
|
command: "mysqld --innodb-flush-method=fsync"
|