Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

What is the default admin username/password? #2

Open
Nitesedge opened this issue Sep 7, 2016 · 1 comment
Open

What is the default admin username/password? #2

Nitesedge opened this issue Sep 7, 2016 · 1 comment

Comments

@Nitesedge
Copy link

Usually username/password is provided on first run. "docker logs" doesn't provide the info and I can't find anything in the Dockerfile or scripts that sets it.

@spujadas
Copy link
Owner

spujadas commented Sep 8, 2016

It's been a while since I created this image and I haven't maintained it since then, so I could be wrong, but looking at the code (especially the migrations in the particular version of the Flarum core used to create the image: https://github.com/flarum/core/tree/825b4082defbcaa53bfce3d4d284ec317a9e014e/migrations) and at the tables in the database, I think that in this early version of Flarum there was no admin user.

Specifically, it seems that 100 random users are created (with random passwords) and assigned to random groups with random permissions, so really the only thing it appears you can do is create a new user and poke around.

Generally speaking, I would strongly advise against using this image (which, again, was created based on an early version of Flarum), and would instead suggest that you fork this repo and rework the Dockerfile based on a recent version of the Flarum codebase (I have no upgrade plans for this image at this stage).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants