41 lines
1020 B
YAML
41 lines
1020 B
YAML
version: "3.7"
|
|
services:
|
|
mariadb:
|
|
image: docker.io/mariadb:11.8
|
|
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: 123
|
|
MARIADB_AUTO_UPGRADE: 1
|
|
volumes:
|
|
- mariadb-data:/var/lib/mysql
|
|
|
|
redis-cache:
|
|
image: docker.io/redis:alpine
|
|
|
|
redis-queue:
|
|
image: docker.io/redis:alpine
|
|
|
|
frappe:
|
|
image: docker.io/frappe/bench:latest
|
|
# If you want to build the current bench image the Containerfile is in this Repo.
|
|
# build: ../images/bench
|
|
command: sleep infinity
|
|
environment:
|
|
- SHELL=/bin/bash
|
|
volumes:
|
|
- ..:/workspace:cached
|
|
# Enable if you require git cloning
|
|
# - ${HOME}/.ssh:/home/frappe/.ssh
|
|
working_dir: /workspace/development
|
|
ports:
|
|
- 8000-8005:8000-8005
|
|
- 9000-9005:9000-9005
|
|
|
|
volumes:
|
|
mariadb-data:
|
|
|