Skip to content

Commit 5dfb1d6

Browse files
committed
update to a more estable wp version
1 parent a1c339f commit 5dfb1d6

File tree

4 files changed

+30
-7
lines changed

4 files changed

+30
-7
lines changed

.env.model

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
WORDPRESS_DB_HOST=mariadb
12
WORDPRESS_DB_USER=wpUser
23
WORDPRESS_DB_PASSWORD=wpPass
34
WORDPRESS_DB_NAME=devWP
45
MYSQL_ROOT_PASSWORD=rootPass
6+
WORDPRESS_TABLE_PREFIX=daddf_
7+
WORDPRESS_DEBUG=true

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"git.ignoreLimitWarning": true
3+
}

docker-compose.yml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,41 @@ services:
1212
volumes:
1313
- ./db_data:/var/lib/mysql
1414
- ./db_dump:/docker-entrypoint-initdb.d
15+
ports:
16+
- "8025:3306"
1517
networks:
16-
- wordpress-network
18+
local:
19+
ipv4_address: 172.28.6.4
1720

1821
wordpress:
19-
image: wordpress:5.3.2-php7.4-fpm-alpine
22+
image: wordpress:latest
2023
restart: unless-stopped
2124
ports:
22-
- 8089:80
25+
- "8026:80"
2326
environment:
2427
WORDPRESS_DB_HOST: mariadb
2528
WORDPRESS_DB_USER: ${WORDPRESS_DB_USER}
2629
WORDPRESS_DB_PASSWORD: ${WORDPRESS_DB_PASSWORD}
2730
WORDPRESS_DB_NAME: ${WORDPRESS_DB_NAME}
2831
volumes:
29-
- ./src:/var/www/html
32+
- type: volume
33+
source: app_data
34+
target: /var/www/html
3035
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
3246

3347
networks:
34-
wordpress-network:
35-
driver: bridge
48+
local:
49+
ipam:
50+
driver: default
51+
config:
52+
- subnet: 172.28.6.0/24

src/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)