This repository was archived by the owner on Jun 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (60 loc) · 1.4 KB
/
docker-compose.yml
File metadata and controls
66 lines (60 loc) · 1.4 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '2'
services:
db:
image: mariadb:10.1
expose:
- 3306
ports:
- 13306:3306
volumes:
- ./docker/db/data:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
assets:
build: docker/assets
command: |
sh -c "/download-images.sh &&
yarn &&
yarn add --force node-sass &&
gulp watch"
volumes:
- .:/app
- theme_node_modules:/app/web/app/themes/coop-tech-oowp-theme/node_modules
working_dir: /app/web/app/themes/coop-tech-oowp-theme
wordpress:
build: docker/wordpress
ports:
- 18080:8080
links:
- db:db
volumes:
- .:/app
- wordpress_vendor:/app/vendor
- theme_vendor:/app/web/app/themes/coop-tech-oowp-theme/vendor
- composer_home:/root/.composer
environment:
DB_HOST: db
DB_NAME: wordpress
DB_USER: wordpress
DB_PASSWORD: wordpress
WP_ENV: development
WP_HOME: http://localhost:18080
WP_SITEURL: http://localhost:18080/wp
phpmyadmin:
image: phpmyadmin/phpmyadmin:4.6
links:
- db:db
ports:
- 18081:80
environment:
PMA_HOST: db
PMA_USER: wordpress
PMA_PASSWORD: wordpress
volumes:
wordpress_vendor:
theme_vendor:
theme_node_modules:
composer_home: