-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.sitediff.yaml
37 lines (33 loc) · 1.06 KB
/
docker-compose.sitediff.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ddev-generated
# Simple template to demonstrate addon-template
services:
sitediff:
container_name: ddev-${DDEV_SITENAME}-sitediff
image: evolvingweb/sitediff
working_dir: /var/www/sitediff
restart: "no"
# Sitediff is served from this port inside the container.
expose:
- 13080
command: tail -f /dev/null
networks:
- default
- ddev_default
# These labels ensure this service is discoverable by ddev.
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
environment:
# This defines the host name the service should be accessible from. This
# will be sitename.ddev.site.
- VIRTUAL_HOST=$DDEV_HOSTNAME
# HTTP_EXPOSE exposes http traffic from the container port 13080
# to the host port 13080 vid ddev-router reverse proxy.
- HTTP_EXPOSE=13080:13080
volumes:
- "../sitediff:/var/www/sitediff"
- ".:/mnt/ddev_config"
- "ddev-global-cache:/mnt/ddev-global-cache"
volumes:
sitediff:
name: "ddev-${DDEV_SITENAME}_sitediff"