Docker and manifest

Hello there! I was trying to create a dockerfile to dockerize manifest and i've been riddled with the "cannot find database" error. Any idea why ?
2 Replies
garethjax
garethjaxOP3w ago
ok apparently it's an issue with Bun which i was hoping to try to learn. I'm currently trying with NPM as per the docs.
brunobuddy
brunobuddy2w ago
Hello @garethjax ! You need to create 2 volumes with Docker Compose: one for the database, and another for the file storage (if needed). Here is the docker-compose.yml file in the docs:
version: '3.8'

services:
app:
image: manifest
build:
context: .
dockerfile: Dockerfile
ports:
- '1111:1111'
volumes:
- ./manifest/backend.db:/app/manifest/backend.db
- ./public:/app/public
version: '3.8'

services:
app:
image: manifest
build:
context: .
dockerfile: Dockerfile
ports:
- '1111:1111'
volumes:
- ./manifest/backend.db:/app/manifest/backend.db
- ./public:/app/public
=> https://manifest.build/docs/deploy#docker
Deploy Manifest | Manifest Docs
Manifest is made to be self-hosted: backends can be deployed with ease wherever you want using different methods.
From An unknown user
From An unknown user
Want results from more Discord servers?
Add your server