mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 14:21:05 +00:00
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
redis-cache:
|
|
image: redis:latest
|
|
restart: on-failure
|
|
volumes:
|
|
- redis-cache-vol:/data
|
|
|
|
redis-queue:
|
|
image: redis:latest
|
|
restart: on-failure
|
|
volumes:
|
|
- redis-queue-vol:/data
|
|
|
|
redis-socketio:
|
|
image: redis:latest
|
|
restart: on-failure
|
|
volumes:
|
|
- redis-socketio-vol:/data
|
|
|
|
mariadb:
|
|
image: mariadb:10.6
|
|
restart: on-failure
|
|
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=${MYSQL_ROOT_PASSWORD}
|
|
# Sometimes db initialization takes longer than 10 seconds and site-creator goes away.
|
|
# Frappe doesn't use CONVERT_TZ() function that requires time zone info, so we can just skip it.
|
|
- MYSQL_INITDB_SKIP_TZINFO=1
|
|
volumes:
|
|
- mariadb-vol:/var/lib/mysql
|
|
|
|
volumes:
|
|
mariadb-vol:
|
|
redis-cache-vol:
|
|
redis-queue-vol:
|
|
redis-socketio-vol:
|