File tree Expand file tree Collapse file tree 4 files changed +30
-7
lines changed Expand file tree Collapse file tree 4 files changed +30
-7
lines changed Original file line number Diff line number Diff line change
1
+ WORDPRESS_DB_HOST=mariadb
1
2
WORDPRESS_DB_USER=wpUser
2
3
WORDPRESS_DB_PASSWORD=wpPass
3
4
WORDPRESS_DB_NAME=devWP
4
5
MYSQL_ROOT_PASSWORD=rootPass
6
+ WORDPRESS_TABLE_PREFIX=daddf_
7
+ WORDPRESS_DEBUG=true
Original file line number Diff line number Diff line change
1
+ {
2
+ "git.ignoreLimitWarning" : true
3
+ }
Original file line number Diff line number Diff line change @@ -12,24 +12,41 @@ services:
12
12
volumes :
13
13
- ./db_data:/var/lib/mysql
14
14
- ./db_dump:/docker-entrypoint-initdb.d
15
+ ports :
16
+ - " 8025:3306"
15
17
networks :
16
- - wordpress-network
18
+ local :
19
+ ipv4_address : 172.28.6.4
17
20
18
21
wordpress :
19
- image : wordpress:5.3.2-php7.4-fpm-alpine
22
+ image : wordpress:latest
20
23
restart : unless-stopped
21
24
ports :
22
- - 8089 :80
25
+ - " 8026 :80"
23
26
environment :
24
27
WORDPRESS_DB_HOST : mariadb
25
28
WORDPRESS_DB_USER : ${WORDPRESS_DB_USER}
26
29
WORDPRESS_DB_PASSWORD : ${WORDPRESS_DB_PASSWORD}
27
30
WORDPRESS_DB_NAME : ${WORDPRESS_DB_NAME}
28
31
volumes :
29
- - ./src:/var/www/html
32
+ - type : volume
33
+ source : app_data
34
+ target : /var/www/html
30
35
networks :
31
- - wordpress-network
36
+ local :
37
+ ipv4_address : 172.28.6.5
38
+
39
+ volumes :
40
+ app_data :
41
+ driver : local
42
+ driver_opts :
43
+ type : none
44
+ device : " ${PWD}/src"
45
+ o : bind
32
46
33
47
networks :
34
- wordpress-network :
35
- driver : bridge
48
+ local :
49
+ ipam :
50
+ driver : default
51
+ config :
52
+ - subnet : 172.28.6.0/24
You can’t perform that action at this time.
0 commit comments