wallabag / wallabag/docker

Can't login with Default Credentials using docker compose

Open
#456 6 comments 0 reactions 0 assignees View on GitHub
Awaiting response
Dominant language
Shell
Stars
769
Forks
168
PR merge metrics
No merged PRs in 30d

Description

I've copied the [docker compose example](https://github.com/wallabag/docker/blob/master/README.md#docker-compose) but can't use the default credentials, user: `wallabag` password: `wallabag` to log-in.

Image

**Browser Traffic**
POST to `http://192.168.11.14/login_check` returns a 302. And the next request the browser makes is a GET to `http://192.168.11.14/login`

**Web Container StdOut**
```
::ffff:192.168.11.9 - - [31/Jul/2025:07:01:44 +0000] "POST /login_check HTTP/1.1" 302 211 "http://192.168.11.14/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"

::ffff:192.168.11.9 - - [31/Jul/2025:07:01:44 +0000] "GET /login HTTP/1.1" 200 1424 "http://192.168.11.14/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"

::ffff:192.168.11.9 - - [31/Jul/2025:07:01:44 +0000] "GET /js/routing?callback=fos.Router.setData HTTP/1.1" 200 392 "http://192.168.11.14/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"
```

**Database Container StdOut**
```
2025-07-31 6:54:28 0 [Note] mariadbd: Event Scheduler: Loaded 0 events

2025-07-31 6:54:28 0 [Note] mariadbd: ready for connections.

Version: '11.8.2-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution

2025-07-31 6:54:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.18.0.10' (This connection closed normally without authentication)
```
note: The 'unconnected' user message seems to happen at startup and not in response to me trying to login via the website.

**Compose File**
```
services:
wallabag:
image: wallabag/wallabag
container_name: wallabag
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=wallabag-db
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=wallapass
- SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
- SYMFONY__ENV__DATABASE_TABLE_PREFIX="wallabag_"
- SYMFONY__ENV__REDIS_HOST=wallabag-regis
- SYMFONY__ENV__MAILER_DSN=smtp://127.0.0.1
- SYMFONY__ENV__FROM_EMAIL=wallabag@fredacted.org
- SYMFONY__ENV__DOMAIN_NAME=http://192.168.11.14
- SYMFONY__ENV__SERVER_NAME="wallabag.redacted.org"
- SYMFONY__ENV__FOSUSER_REGISTRATION=true
ports:
- 80:80
volumes:
- /portainer/Files/AppData/Config/wallabag/images:/var/www/wallabag/web/assets/images
depends_on:
- wallabag-db
- wallabag-redis
wallabag-db:
image: mariadb
container_name: wallabag-db
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
volumes:
- /portainer/Files/AppData/Config/wallabag/data:/var/lib/mysql
healthcheck:
test: ["CMD", "/usr/local/bin/healthcheck.sh", "--innodb_initialized"]
interval: 20s
timeout: 3s
wallabag-redis:
image: redis:alpine
container_name: wallabag-redis
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 20s
timeout: 3s
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.