Skip to content

Fix docker issues#56

Merged
vernu merged 7 commits intovernu:mainfrom
markoilijoski:feature/dockerization
Mar 18, 2025
Merged

Fix docker issues#56
vernu merged 7 commits intovernu:mainfrom
markoilijoski:feature/dockerization

Conversation

@markoilijoski
Copy link
Contributor

the change here is for running the app locally, using docker-compose..

changes are made to the following files:

docker-compose.yml
building local dockerfile instead of pulling public textbee
creating automatically DB and user/pass when running mongodb container and also starting mongo express
removing .env files since they are included in the dockerfile. the apps are using automatically .env if the files are present in the image.

api/Dockerfile && web/Dockerfile
added fixed version of base image (node:18) coz it was pulling latest which is node 22 and app was not working.

mongo-init
this folder consist a js script which is executed when mongo container is starting. it creates the DB and also User/Pass for the web and api to use for connection.

api/.dockerignore
i had to remove .env from .docklerignore coz docker build was failing, coudnt find .env to copy to.

also updated Readme file with steps on running the apps locally.

@vernu vernu merged commit 2664daa into vernu:main Mar 18, 2025
@vernu vernu changed the title Feature/dockerization Fix docker issues Mar 18, 2025
selamawitk pushed a commit to selamawitk/textbee that referenced this pull request Sep 7, 2025
outdoorsea pushed a commit to outdoorsea/textbee that referenced this pull request Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants