Update Docker-Compose file
This commit is contained in:
parent
70cd88fc23
commit
6513531dd5
1 changed files with 0 additions and 25 deletions
|
|
@ -1,25 +0,0 @@
|
||||||
version: '3.1'
|
|
||||||
|
|
||||||
services:
|
|
||||||
|
|
||||||
wordpress:
|
|
||||||
image: wordpress
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- 8080:80
|
|
||||||
environment:
|
|
||||||
WORDPRESS_DB_HOST: db
|
|
||||||
WORDPRESS_DB_USER: exampleuser
|
|
||||||
WORDPRESS_DB_PASSWORD: examplepass
|
|
||||||
WORDPRESS_DB_NAME: exampledb
|
|
||||||
volumes:
|
|
||||||
- /home/onny/projects/web-wordpress-pi-new/imnews:/var/www/html/wp-content/themes/imnews
|
|
||||||
|
|
||||||
db:
|
|
||||||
image: mysql:5.7
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
MYSQL_DATABASE: exampledb
|
|
||||||
MYSQL_USER: exampleuser
|
|
||||||
MYSQL_PASSWORD: examplepass
|
|
||||||
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue