-
Notifications
You must be signed in to change notification settings - Fork 41
/
docker-compose.yml
48 lines (46 loc) · 1.21 KB
/
docker-compose.yml
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
38
39
40
41
42
43
44
45
46
47
48
services:
##########################################
# govcms: The GovCMS local development
##########################################
govcms:
build:
context: .
dockerfile: $PWD/.docker/Dockerfile.govcms
ports:
- 8888:80
volumes:
- /root/.composer
- /var/www/html/sites
- $PWD/config:/app/web/profiles/govcms/config
- $PWD/modules:/app/web/profiles/govcms/modules
- $PWD/themes:/app/web/profiles/govcms/themes
- $PWD/src:/app/web/profiles/govcms/src
- $PWD/tests:/app/web/profiles/govcms/tests
develop:
watch:
- action: sync
path: .
target: /app/web/profiles/govcms
ignore:
- config/
- modules/
- themes/
- src/
- tests/
- action: rebuild
path: composer.json
##########################################
# mariadb: The database used by local
##########################################
mariadb:
image: mariadb
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: drupal
MARIADB_USER: drupal
MARIADB_PASSWORD: drupal
volumes:
- /var/lib/mysql
networks:
default:
external: false