corrections docker compose directus suppr auth db

This commit is contained in:
Valentin 2024-11-19 21:54:19 +01:00
parent 55a27d0b9a
commit 9a0150094d
2 changed files with 7 additions and 4 deletions

View File

@ -8,8 +8,7 @@ services:
- ./setup_mariadb.sql:/docker-entrypoint-initdb.d/setup_mariadb.sql
environment:
- MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1
- MARIADB_USER=directus
- MARIADB_PASSWORD=directus
- MARIADB_USER=root
- MARIADB_DB=directus
cache:
@ -37,8 +36,8 @@ services:
DB_HOST: "database"
DB_PORT: "3306"
DB_DATABASE: "directus"
DB_USER: "directus"
DB_PASSWORD: "directus"
DB_USER: "root"
DB_PASSWORD: ""
CACHE_ENABLED: "true"
CACHE_STORE: "redis"

View File

@ -1,5 +1,9 @@
#!/bin/bash
if [[ -z "$username" ]]; then
username=$(getent passwd 1001 | cut -d: -f1)
fi
# SET URL
echo -e "${PURPLE}${BOLD}Set url ? (y/N) ${RESET}"
read answer