Skip to content

Commit

Permalink
adding example of docker-compose.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
xe-nvdk committed Mar 15, 2024
1 parent d007825 commit 24f830d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
- WORDPRESS_DB_NAME=wordpress
- WORDPRESS_TABLE_PREFIX=ezcompose_
volumes:
- ./mysql:/var/www/html
- ./wordpress:/var/www/html
mysql:
image: mysql:latest
container_name: mysql
Expand All @@ -28,4 +28,4 @@ services:
- MYSQL_PASSWORD=mysql
- MYSQL_ROOT_PASSWORD=mysql
volumes:
- .:/var/lib/mysql
- ./mysql:/var/lib/mysql

0 comments on commit 24f830d

Please sign in to comment.