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:
|
volumes:
|
||||||
- www:/www:ro
|
- www:/www:ro
|
||||||
- ./__cert:/cert:ro
|
- ./__cert:/cert:ro
|
||||||
|
- ./__logs:/var/log/nginx:rw
|
||||||
networks:
|
networks:
|
||||||
- network
|
- network
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -23,10 +23,10 @@
|
||||||
define( 'DB_NAME', 'wp' );
|
define( 'DB_NAME', 'wp' );
|
||||||
|
|
||||||
/** Database username */
|
/** Database username */
|
||||||
define( 'DB_USER', 'db' ); # TODO
|
define( 'DB_USER', 'db' );
|
||||||
|
|
||||||
/** Database password */
|
/** Database password */
|
||||||
define( 'DB_PASSWORD', `cat /run/secrets/database-pwd` ); # TODO
|
define( 'DB_PASSWORD', `cat /run/secrets/database-pwd` );
|
||||||
|
|
||||||
/** Database hostname */
|
/** Database hostname */
|
||||||
define( 'DB_HOST', 'mariadb:3306' );
|
define( 'DB_HOST', 'mariadb:3306' );
|
||||||
|
@ -85,7 +85,7 @@ $table_prefix = 'wp_';
|
||||||
*
|
*
|
||||||
* @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
|
* @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. */
|
/* Add any custom values between this line and the "stop editing" line. */
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ then
|
||||||
echo
|
echo
|
||||||
echo "add files from /conf/wwwmore/"
|
echo "add files from /conf/wwwmore/"
|
||||||
echo
|
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."
|
>/www/.installed echo "if this file exists, that means the database is entirely installed."
|
||||||
echo "www directory created!"
|
echo "www directory created!"
|
||||||
echo
|
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