File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ version : ' 2.1'
2+
3+ services :
4+ mariadb :
5+ image : docker.io/bitnami/mariadb:latest
6+ volumes :
7+ - ' mariadb_data:/bitnami/mariadb'
8+ environment :
9+ # ALLOW_EMPTY_PASSWORD is recommended only for development.
10+ - ALLOW_EMPTY_PASSWORD=yes
11+ - MARIADB_USER=wp
12+ - MARIADB_DATABASE=wp
13+ healthcheck :
14+ test : ['CMD', '/opt/bitnami/scripts/mariadb/healthcheck.sh']
15+ interval : 15s
16+ timeout : 5s
17+ retries : 6
18+ wordpress :
19+ build : .
20+ ports :
21+ - ' 80:8080'
22+ volumes :
23+ - ' wordpress_data:/bitnami/wordpress'
24+ environment :
25+ # ALLOW_EMPTY_PASSWORD is recommended only for development.
26+ - ALLOW_EMPTY_PASSWORD=yes
27+ - WORDPRESS_DATABASE_USER=wp
28+ - WORDPRESS_DATABASE_NAME=wp
29+ volumes :
30+ mariadb_data :
31+ driver : local
32+ wordpress_data :
33+ driver : local
You can’t perform that action at this time.
0 commit comments