2020-03-05 16:09:03 +00:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
mariadb:
|
2023-10-26 03:05:31 +00:00
|
|
|
image: docker.io/mariadb:10.6
|
2024-06-25 05:06:25 +00:00
|
|
|
platform: linux/amd64
|
2021-12-06 12:25:24 +00:00
|
|
|
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
|
2020-03-05 16:09:03 +00:00
|
|
|
environment:
|
2022-03-14 05:53:03 +00:00
|
|
|
MYSQL_ROOT_PASSWORD: 123
|
2020-03-05 16:09:03 +00:00
|
|
|
volumes:
|
2022-03-14 05:53:03 +00:00
|
|
|
- mariadb-data:/var/lib/mysql
|
2020-03-05 16:09:03 +00:00
|
|
|
|
2020-08-01 05:26:03 +00:00
|
|
|
# Enable PostgreSQL only if you use it, see development/README.md for more information.
|
|
|
|
# postgresql:
|
|
|
|
# image: postgres:11.8
|
|
|
|
# environment:
|
2022-03-14 05:53:03 +00:00
|
|
|
# POSTGRES_PASSWORD: 123
|
2020-08-01 05:26:03 +00:00
|
|
|
# volumes:
|
2022-03-14 05:53:03 +00:00
|
|
|
# - postgresql-data:/var/lib/postgresql/data
|
2020-06-30 09:55:10 +00:00
|
|
|
|
2023-11-13 21:40:15 +00:00
|
|
|
# Enable Mailpit if you need to test outgoing mail services
|
|
|
|
# See https://mailpit.axllent.org/
|
|
|
|
# mailpit:
|
|
|
|
# image: axllent/mailpit
|
|
|
|
# volumes:
|
|
|
|
# - mailpit-data:/data
|
|
|
|
# ports:
|
|
|
|
# - 8025:8025
|
|
|
|
# - 1025:1025
|
|
|
|
# environment:
|
|
|
|
# MP_MAX_MESSAGES: 5000
|
|
|
|
# MP_DATA_FILE: /data/mailpit.db
|
|
|
|
# MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
|
|
# MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
|
|
|
|
2020-03-05 16:09:03 +00:00
|
|
|
redis-cache:
|
2023-10-26 03:05:31 +00:00
|
|
|
image: docker.io/redis:alpine
|
2024-06-25 05:06:25 +00:00
|
|
|
platform: linux/amd64
|
2020-03-05 16:09:03 +00:00
|
|
|
|
|
|
|
redis-queue:
|
2023-10-26 03:05:31 +00:00
|
|
|
image: docker.io/redis:alpine
|
2024-06-25 05:06:25 +00:00
|
|
|
platform: linux/amd64
|
2020-03-05 16:09:03 +00:00
|
|
|
|
|
|
|
frappe:
|
2023-10-26 03:05:31 +00:00
|
|
|
image: docker.io/frappe/bench:latest
|
2024-06-25 05:06:25 +00:00
|
|
|
platform: linux/amd64
|
2020-03-05 16:09:03 +00:00
|
|
|
command: sleep infinity
|
2021-09-15 09:41:36 +00:00
|
|
|
environment:
|
|
|
|
- SHELL=/bin/bash
|
2020-03-05 16:09:03 +00:00
|
|
|
volumes:
|
|
|
|
- ..:/workspace:cached
|
2022-11-03 07:29:11 +00:00
|
|
|
# Enable if you require git cloning
|
|
|
|
# - ${HOME}/.ssh:/home/frappe/.ssh
|
2020-06-09 05:33:20 +00:00
|
|
|
working_dir: /workspace/development
|
2020-03-05 16:09:03 +00:00
|
|
|
ports:
|
2022-03-14 05:53:03 +00:00
|
|
|
- 8000-8005:8000-8005
|
|
|
|
- 9000-9005:9000-9005
|
2023-10-26 03:05:31 +00:00
|
|
|
# enable the below service if you need Cypress UI Tests to be executed
|
|
|
|
# Before enabling ensure install_x11_deps.sh has been executed and display variable is exported.
|
|
|
|
# Run install_x11_deps.sh again if DISPLAY is not set
|
|
|
|
# ui-tester:
|
|
|
|
# # pass custom command to start Cypress otherwise it will use the entrypoint
|
|
|
|
# # specified in the Cypress Docker image.
|
|
|
|
# # also pass "--project <folder>" so that when Cypress opens
|
|
|
|
# # it can find file "cypress.json" and show integration specs
|
|
|
|
# # https://on.cypress.io/command-line#cypress-open
|
|
|
|
# entrypoint: 'sleep infinity'
|
|
|
|
# image: "docker.io/cypress/included:latest"
|
|
|
|
# environment:
|
|
|
|
# - SHELL=/bin/bash
|
|
|
|
# # get the IP address of the host machine and allow X11 to accept
|
|
|
|
# # incoming connections from that IP address
|
|
|
|
# # IP=$(ipconfig getifaddr en0) or mac or \
|
|
|
|
# # IP=$($(hostname -I | awk '{print $1}') ) for Ubuntu
|
|
|
|
# # /usr/X11/bin/xhost + $IP
|
|
|
|
# # then pass the environment variable DISPLAY to show Cypress GUI on the host system
|
|
|
|
# # DISPLAY=$IP:0
|
|
|
|
# - DISPLAY
|
|
|
|
# volumes:
|
|
|
|
# # for Cypress to communicate with the X11 server pass this socket file
|
|
|
|
# # in addition to any other mapped volumes
|
|
|
|
# - /tmp/.X11-unix:/tmp/.X11-unix
|
|
|
|
# - ..:/workspace:z,cached
|
|
|
|
# network_mode: "host"
|
2020-03-05 16:09:03 +00:00
|
|
|
volumes:
|
2022-03-14 05:53:03 +00:00
|
|
|
mariadb-data:
|
2023-10-26 03:05:31 +00:00
|
|
|
#postgresql-data:
|
2023-11-13 21:40:15 +00:00
|
|
|
#mailpit-data:
|