forked from civicrm/civicrm-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
21 lines (19 loc) · 806 Bytes
/
compose.dev.yaml
File metadata and controls
21 lines (19 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Development Compose Override
#
# This file demonstrates mounting local CiviCRM code for development.
#
# Usage:
# 1. Clone CiviCRM WordPress plugin to your local machine
# 2. Update path below to point to your local CiviCRM directory
# 3. Start: docker compose -f compose.yaml -f compose.dev.yaml up -d
#
# The local code will override the CiviCRM code in the image.
# Changes to local files appear immediately in the container.
services:
app:
volumes:
# Mount your local CiviCRM WordPress plugin directory
# UPDATE THIS PATH to your local CiviCRM location:
- /tmp/civicrm-dev/civicrm:/var/www/html/wp-content/plugins/civicrm
# For developing other plugins, add additional mounts:
# - /path/to/your/custom-plugin:/var/www/html/wp-content/plugins/custom-plugin