-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (44 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
52 lines (44 loc) · 1.18 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
version: '2'
services:
wp:
build: .
ports:
- 80:80
links:
- db
environment:
DB_HOST: db
DB_PASSWORD: knkcni
DB_NAME: knkcni
DB_USER: knkcni
volumes:
- ./config/000-default.conf:/etc/apache2/sites-available/000-default.conf
- $PWD:/var/www/:cached
# Developping a plugin
# - $PWD/plugin-name/:/var/www/html/wp-content/plugins/plugin-name
# Developping a theme
# - $PWD/theme-name/:/var/www/html/wp-content/themes/theme-name
db:
image: mysql:5.7
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: knkcni
MYSQL_USER: knkcni
MYSQL_PASSWORD: knkcni
adminer:
image: adminer
ports:
- 8080:8080
cadvisor:
image: google/cadvisor
ports:
- 8008:8080
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
volumes:
db-data: