update configs

This commit is contained in:
lou 2024-10-15 18:29:31 -04:00
parent f3ff136b24
commit df0a7d796a
2 changed files with 8 additions and 4 deletions

View File

@ -68,6 +68,8 @@ services:
MYSQL_DATABASE: aidxnfun MYSQL_DATABASE: aidxnfun
MYSQL_USER: aidxnfun MYSQL_USER: aidxnfun
MYSQL_PASSWORD: iloveaidxnfun MYSQL_PASSWORD: iloveaidxnfun
volumes:
- /docker/db/mysql:/var/lib/mysql
restart: unless-stopped restart: unless-stopped
phpmyadmin: phpmyadmin:
image: phpmyadmin image: phpmyadmin
@ -92,11 +94,11 @@ networks:
This can be used in conjunction with the example .env file compatible with this file: This can be used in conjunction with the example .env file compatible with this file:
```dotenv ```dotenv
DB_HOST="10.5.0.5" DB_HOST=10.5.0.5
DB_PORT=3306 DB_PORT=3306
DB_USER="root" DB_USER=root
DB_PASSWORD="iloveaidxnfun123" DB_PASSWORD=iloveaidxnfun123
DB_NAME="aidxnfun" DB_NAME=aidxnfun
``` ```
This config will create a MariaDB instance, with a pre-created database, as long well as supplied user credentials. A PhpMyAdmin instance will additionally be spun up for easy management and inspection of the database. You may plug in `10.5.0.5` as the host on [your ip]:80 in your web browser (on the computer running Docker). This config will create a MariaDB instance, with a pre-created database, as long well as supplied user credentials. A PhpMyAdmin instance will additionally be spun up for easy management and inspection of the database. You may plug in `10.5.0.5` as the host on [your ip]:80 in your web browser (on the computer running Docker).

View File

@ -6,4 +6,6 @@ services:
MYSQL_DATABASE: aidxnfun MYSQL_DATABASE: aidxnfun
MYSQL_USER: aidxnfun MYSQL_USER: aidxnfun
MYSQL_PASSWORD: iloveaidxnfun MYSQL_PASSWORD: iloveaidxnfun
volumes:
- /docker/db/mysql:/var/lib/mysql
restart: unless-stopped restart: unless-stopped