mirror of
https://github.com/Automattic/harper.git
synced 2025-12-05 19:26:55 -06:00
22 lines
547 B
YAML
22 lines
547 B
YAML
# This Docker compose file is for development of the Harper website and web services.
|
|
# You do not need it to use Harper.
|
|
|
|
services:
|
|
db:
|
|
image: mariadb:lts
|
|
restart: always
|
|
environment:
|
|
MARIADB_ROOT_PASSWORD: password
|
|
MARIADB_DATABASE: harper
|
|
MARIADB_USER: devuser
|
|
MARIADB_PASSWORD: password
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
- ./mariadb_data:/var/lib/mysql
|
|
healthcheck:
|
|
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|