New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The username or password is incorrect. #142
Comments
Hey Nathan, I appreciate your prompt response. I was actually mounting the database volume to |
Mounting the data directories to a local file path should be fine, I do that with my personal installation. Example docker compose: version: "3"
services:
app:
depends_on:
- db
environment:
PRETTY_URLS: "1"
HTTPS: "0"
HTTPS_REDIRECT: "0"
LANG: "en-US"
BASE_URL: "http://localhost:4080"
DB_TYPE: "mysql"
DB_HOST: "db"
DB_PORT: "3306"
DB_USER: "webtrees"
DB_PASS: "badpassword"
DB_NAME: "webtrees"
DB_PREFIX: "wt_"
WT_USER: "username"
WT_NAME: "Full Name"
WT_PASS: "mybadpassword"
WT_EMAIL: "me@example.com"
PUID: "1000"
PGID: "1000"
image: ghcr.io/nathanvaughn/webtrees:latest
ports:
- 4080:80
restart: unless-stopped
volumes:
- /tmp/webtrees_app_data:/var/www/webtrees/data/
db:
environment:
MARIADB_DATABASE: "webtrees"
MARIADB_USER: "webtrees"
MARIADB_ROOT_PASSWORD: "badpassword"
MARIADB_PASSWORD: "badpassword"
image: docker.io/library/mariadb:latest
restart: unless-stopped
volumes:
- /tmp/webtrees_db_data:/var/lib/mysql If you had both Webtrees and the Database pointing to |
I've set up the docker compose just as you had it and setting the image to the latest. I also get
the username or password is incorrect
when using thewt_user
andwt_pass
parameters in docker-compose.yml.The text was updated successfully, but these errors were encountered: