2 issues (docker) - invalid credentails and directory listing is not allowed

Hi

Iam using this example to deploy joplin:

I have 2 issues. the first error message when I go to https://joplin.mydomain.com is:

  • Directory listing not allowed:
  • Back to the login page

when i click on "go back to login page" it asks for a username and password. however, I don't know. whatever I enter, it keeps giving the following error message.
is there maybe a default username / password? or can I define this in my YML file as described below?

Error: Invalid username or password
    at SessionModel.<anonymous> (/home/joplin/packages/server/src/models/SessionModel.ts:28:20)
    at Generator.next (<anonymous>)
    at fulfilled (/home/joplin/packages/server/dist/models/SessionModel.js:5:58)

my docker compose file is ( swarm mode):

version: '3'
services:
app:
image: joplin/server:latest
environment:
- APP_BASE_URL=https://joplin.mydomain.com
- APP_PORT=22300
- POSTGRES_PASSWORD=joplin
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=db
- DB_CLIENT=pg
ports:
- 22300:22300
networks:
- traefik_public
- internal
depends_on:
- db
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.joplin-rtr.entrypoints=https"
- "traefik.http.routers.joplin-rtr.rule=Host(joplin.mydomain.com)"
- "traefik.http.routers.joplin-rtr.middlewares=chain-oauth@file"
- "traefik.http.routers.joplin-rtr.service=joplin-svc"
- "traefik.http.services.joplin-svc.loadbalancer.server.port=22300"

db:
image: postgres:latest
ports:
- 5432:5432
volumes:
- /share/docker/swarm/appdata/joplin/db:/var/lib/postgresql/data
environment:
- APP_PORT=22300
- POSTGRES_PASSWORD=joplin
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
networks:
- internal

networks:
traefik_public:
external: true
internal:
driver: overlay
ipam:
config:
- subnet: 172.16.69.0/24

anyone??

there was a traefik related issue on gh

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.