tmp
This commit is contained in:
parent
a1d2d83f60
commit
59e9c06425
4 changed files with 13 additions and 4 deletions
|
@ -11,6 +11,7 @@ services:
|
|||
volumes:
|
||||
- www:/www:ro
|
||||
- ./__cert:/cert:ro
|
||||
- ./__logs:/var/log/nginx:rw
|
||||
networks:
|
||||
- network
|
||||
restart: always
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
define( 'DB_NAME', 'wp' );
|
||||
|
||||
/** Database username */
|
||||
define( 'DB_USER', 'db' ); # TODO
|
||||
define( 'DB_USER', 'db' );
|
||||
|
||||
/** Database password */
|
||||
define( 'DB_PASSWORD', `cat /run/secrets/database-pwd` ); # TODO
|
||||
define( 'DB_PASSWORD', `cat /run/secrets/database-pwd` );
|
||||
|
||||
/** Database hostname */
|
||||
define( 'DB_HOST', 'mariadb:3306' );
|
||||
|
@ -85,7 +85,7 @@ $table_prefix = 'wp_';
|
|||
*
|
||||
* @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
|
||||
*/
|
||||
define( 'WP_DEBUG', true ); # TODO
|
||||
define( 'WP_DEBUG', false );
|
||||
|
||||
/* Add any custom values between this line and the "stop editing" line. */
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ then
|
|||
echo
|
||||
echo "add files from /conf/wwwmore/"
|
||||
echo
|
||||
cp -r /conf/wwwmore/. /www
|
||||
cp -p -r /conf/wwwmore/. /www
|
||||
>/www/.installed echo "if this file exists, that means the database is entirely installed."
|
||||
echo "www directory created!"
|
||||
echo
|
||||
|
|
8
tmp
Normal file
8
tmp
Normal file
|
@ -0,0 +1,8 @@
|
|||
create in vbox:
|
||||
- install debian iso from https://chuangtzu.ftp.acc.umu.se/debian-cd/current/amd64/iso-cd/debian-12.11.0-amd64-netinst.iso
|
||||
- login as root
|
||||
- # apt install sudo
|
||||
- install 6 debs from https://download.docker.com/linux/debian/dists/bookworm/pool/stable/amd64/
|
||||
- # usermod -aG sudo username
|
||||
- # usermod -aG docker username
|
||||
- launch probalby
|
Loading…
Add table
Reference in a new issue