Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (23 sloc) 480 Bytes
version: '3.1'
services:
wordpress:
image: wordpress:5.2
depends_on:
- db
ports:
- 8080:80
volumes:
- wordpress:/var/www/html
- ./:/var/www/html/wp-content/themes/simple-bootstrap
db:
image: mariadb:10
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_DATABASE: wordpress
MYSQL_USER: username
MYSQL_PASSWORD: password
volumes:
- datastore:/var/lib/mysql
volumes:
wordpress:
datastore:
You can’t perform that action at this time.