forked from bozdoz/wp-plugin-leaflet-map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 964 Bytes
/
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
version: '3.3'
services:
db:
image: mariadb
volumes:
- wp_db:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
wordpress:
image: wordpress:latest
depends_on:
- db
volumes:
- wordpress:/var/www/html
- ./themes:/var/www/html/wp-content/themes
- .:/var/www/html/wp-content/plugins/leaflet-map
ports:
- 1234:80
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
cli:
build: .
depends_on:
- wordpress
volumes:
- wordpress:/var/www/html
- ./themes:/var/www/html/wp-content/themes
- .:/var/www/html/wp-content/plugins/leaflet-map
environment:
WORDPRESS_PORT: 1234
volumes:
wp_db:
wordpress: