volumes:
- ./:/var/www
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:
- wordpress:/var/www/html
db:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db:/var/lib/mysql
volumes:
wordpress:
db:
mstsc.exe /v:192.168.1.1 /shadow:2
sudo smartctl -a /dev/sda
smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.16.1.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
Vendor: HP
Product: LOGICAL VOLUME
Revision: 5.12
User Capacity: 1,500,222,873,600 bytes [1.50 TB]
Logical block size: 512 bytes
Logical Unit id: 0x600508b1001c9c339810c16fe6dec4b3
Serial number: PACCRID113715F7
Device type: disk
Local Time is: Sun Jul 5 07:25:41 2020 MSK
Device does not support SMART
Error Counter logging not supported
Device does not support Self Test logging