File tree 1 file changed +6
-12
lines changed
1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ services:
3
3
wordpress :
4
4
image : wordpress:latest # https://hub.docker.com/_/wordpress/
5
5
ports :
6
- - 127.0.10.10: 80:80 # change ip if required
6
+ - 80:80 # change ip if required
7
7
volumes :
8
8
- ./wp-app:/var/www/html # Full wordpress project
9
9
# - ./plugin-name/trunk/:/var/www/html/wp-content/plugins/plugin-name # Plugin development
@@ -13,22 +13,16 @@ services:
13
13
WORDPRESS_DB_NAME : wordpress
14
14
WORDPRESS_DB_USER : root
15
15
WORDPRESS_DB_PASSWORD : password
16
- links :
17
- - db:db
18
- networks :
19
- - wordpress-network
16
+ # links:
17
+ # - db:db
18
+ depends_on :
19
+ - db
20
20
db :
21
21
image : mysql:latest # https://hub.docker.com/_/mysql/ - or mariadb https://hub.docker.com/_/mariadb
22
22
ports :
23
- - 127.0.10.10:3306 :3306 # change ip if required
23
+ - 306 :3306 # change ip if required
24
24
volumes :
25
25
- ./wp-data:/docker-entrypoint-initdb.d
26
26
environment :
27
27
MYSQL_DATABASE : wordpress
28
28
MYSQL_ROOT_PASSWORD : password
29
- networks :
30
- - wordpress-network
31
-
32
- networks :
33
- wordpress-network :
34
- driver : bridge
You can’t perform that action at this time.
0 commit comments