Joplin working after a while after installation

Operating system

Linux

Joplin version

2.14.1

What issue do you have?

joplin-server is working about 30 minutes after installation, in the meantime we get a bad gateway error. after an update of the docker-compsoe.yml again 30 minutes of waiting.

docker-compose-yml:

version: '3'

services:
db:
image: postgres:15
volumes:
- /storage/joplindb:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=xxxx
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
app:
image: joplin/server:latest
depends_on:
- db
ports:
- "8081:8081"
restart: unless-stopped
environment:
- APP_PORT=8081
- APP_BASE_URL=myurl
- DB_CLIENT=pg
- POSTGRES_PASSWORD=xxxx
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=db
- MAILER_ENABLED=1
- MAILER_HOST=192.168.10.1
- MAILER_PORT=25
- MAILER_SECURITY=none
- MAILER_NOREPLY_NAME=Joplin
- MAILER_NOREPLY_EMAIL=no-reply@example.com

volumes:
joplindb: null

Any idea what this yould be ?

Log?

From having a quick look at your compose file, the "app" ports section looks wrong.

Joplin runs on port 22300 in the container, so if you want to map it to 8081 on your host the line is normally:

ports:
- "8081:22300"

However I would have expected the server not to work at all with that line present so is it just a typo in your post???

but there is also an entry:

         environment:
             - APP_PORT=8081

which sets the port for joplin to 8081 I believe, so this should be ok.

Log looks good, no errors or warnings

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