-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Can't login using docker compose installation #32
Comments
Hello again! I will require more information such as server logs( But, I think this issue arises from the web framework that mCaptcha uses: mCaptcha is, by default, configured to serve localhost:7000. So accessing the app at http://localhost:7000 should work but http:/127.0.0.1:7000 or with any other hostname won't because of how the web framework's session middleware works. So I recommend accessing the app at http://localhost:7000 to see if it resolves the issue. |
Oh, I'm running it on a server, so I call it http://myserve:7000. I can't use localhost for the server |
In that case, kindly set version: "3.9"
services:
mcaptcha:
image: mcaptcha/mcaptcha:latest
ports:
- 7000:7000
environment:
DATABASE_URL: postgres://postgres:password@mcaptcha_postgres:5432/postgres # set password at placeholder
MCAPTCHA_REDIS_URL: redis://mcaptcha-redis/
MCAPTCHA_SERVER_DOMAIN: myserve
RUST_LOG: debug
PORT: 7000
depends_on:
mcaptcha-postgres
mcaptcha-redis
mcaptcha_postgres:
image: postgres:13.2
volumes:
- mcaptcha-data:/var/lib/postgresql/
environment:
POSTGRES_PASSWORD: password # change password
PGDATA: /var/lib/postgresql/data/mcaptcha/
mcaptcha-redis:
image: mcaptcha/cache:latest
volumes:
mcaptcha-data: |
Perfect ! Thanks again |
Hi, it's me again,
I'm using docker-compose installation.
I tried to login use default credentials or create new one but it's not working.
It redirects me to login page.
I see the INSERT in the log when creating an account, and the SELECT, but it says
from conversin: Account not found
The text was updated successfully, but these errors were encountered: