- Image source: https://hub.docker.com/r/byte21516/bookmarks
services:
bookmarks:
image: byte21516/bookmarks:latest
container_name: bookmarks
ports:
- "3000:3000"
volumes:
- ./bookmarks-data:/app/data
environment:
NODE_ENV: production
restart: unless-stopped
- Installing NodeJS & NPM:
$ sudo curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - && sudo apt install nodejs -y
- Navigate to the directory or repository:
$ cd Bookmarks/
- Inside the directory, run npm install:
$ sudo npm install
- Run the NodeJS server:
$ node server.js
- The server should now run on port 3000.
- Using systemd service file.
Backups are pretty easy: Just backup "db.sqlite".

