Skip to content

User of PostgreSQL database #41

@mu88

Description

@mu88

Dear @flosoft ,

Thank you for providing this super neat repository 🚀

I've a (probably very easy) question regarding the configuration: when running docker top joplinserver-app-1, I can see that the Joplin app itself runs under my user account:

UID                 PID                 PPID                C                   STIME               TTY                 TIME                CMD
myuser              1482907             1482876             0                   17:35               ?                   00:00:00            tini -- yarn start-prod
myuser              1482971             1482907             0                   17:35               ?                   00:00:01            node /opt/yarn-v1.22.19/bin/yarn.js start-prod
myuser              1483056             1482971             0                   17:35               ?                   00:00:00            /bin/sh -c pm2 kill && pm2 start --no-daemon --exp-backoff-restart-delay=1000 dist/app.js
myuser              1483103             1483056             0                   17:35               ?                   00:00:02            /usr/local/bin/node /home/joplin/packages/server/node_modules/.bin/pm2 start --no-daemon --exp-backoff-restart-delay=1000 dist/app.js
myuser              1483116             1483103             3                   17:35               ?                   00:00:21            node /home/joplin/packages/server/dist/app.js

But running docker top joplinserver-db-1 reveals that Joplin's database is running under a totally different user:

UID                 PID                 PPID                C                   STIME               TTY                 TIME                CMD
openhab             1482900             1482853             0                   17:35               ?                   00:00:00            postgres
openhab             1483046             1482900             0                   17:35               ?                   00:00:00            postgres: checkpointer
openhab             1483047             1482900             0                   17:35               ?                   00:00:00            postgres: background writer
openhab             1483048             1482900             0                   17:35               ?                   00:00:00            postgres: walwriter
openhab             1483049             1482900             0                   17:35               ?                   00:00:00            postgres: autovacuum launcher
openhab             1483050             1482900             0                   17:35               ?                   00:00:00            postgres: stats collector
openhab             1483051             1482900             0                   17:35               ?                   00:00:00            postgres: logical replication launcher
openhab             1483182             1482900             0                   17:35               ?                   00:00:00            postgres: joplinServer joplinServerDb 172.19.0.3(40768) idle
openhab             1483885             1482900             0                   17:38               ?                   00:00:00            postgres: joplinServer joplinServerDb 172.19.0.3(39222) idle

The user openhab exists on my Raspi and is used for my openHAB instance.

Do you have an idea why Joplin's database runs under a totally different account using your docker-compose.yml?

Thx and take care!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions