forked from perfectyorg/perfecty-push-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (34 loc) · 771 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (34 loc) · 771 Bytes
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
version: '3.1'
services:
wordpress:
image: custom-wordpress:5.6-php7.2-apache
restart: always
ports:
- 80:80
- 443:443
networks:
- perfecty-net
volumes:
- .:/var/www/html/wp-content/plugins/perfecty-push-wp/
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: exampleuser
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
WORDPRESS_DEBUG: 1
db:
image: mysql:5.7
volumes:
- ./data:/var/lib/mysql
ports:
- 3306:3306
networks:
- perfecty-net
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
networks:
perfecty-net: