Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bramon-org/wp-bramon
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlana committed Oct 6, 2020
2 parents abf7dc7 + d7183b0 commit f50e4fa
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: '3.3'

services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress

wordpress:
depends_on:
- db
image: wordpress:latest
ports:
- "8000:80"
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
volumes:
- ./wp-bramon:/var/www/html/wp-content/plugins/wp-bramon
volumes:
db_data: {}

0 comments on commit f50e4fa

Please sign in to comment.