Docker¶
Logbee can run as a Docker application, thanks to Marcio valuable contribution.
The official Logbee Docker repositories are the following:
Running Logbee in Docker will automatically install all the necessary prerequisites.
Docker files¶
To get started running logBee as a Docker container, create the following files:
/logbee_Docker
├── docker-compose.yml
├── backend.appsettings.json
├── backend.logbee.json
├── frontend.appsettings.json
└── frontend.logbee.json
Download Docker files
Full working example of the files above can be found on https://github.com/catalingavan/logbee-app.
version: "3.7"
networks:
default:
name: logbee-net
driver_opts:
com.docker.network.driver.mtu: 1380
services:
backend:
image: catalingavan/logbee.backend:1.2.1
container_name: logbee.backend.dev
restart: unless-stopped
volumes:
- ./backend.appsettings.json:/app/appsettings.json
- ./backend.logbee.json:/app/Configuration/logbee.json
ports:
- "44088:80"
links:
- "mongodb"
frontend:
image: catalingavan/logbee.frontend:1.2.1
container_name: logbee.frontend.dev
restart: unless-stopped
volumes:
- ./frontend.appsettings.json:/app/appsettings.json
- ./frontend.logbee.json:/app/Configuration/logbee.json
ports:
- "44080:80"
links:
- "backend"
mongodb:
image: mongo:6.0.4
container_name: logbee.mongodb.dev
restart: unless-stopped
volumes:
- mongo-data:/data/db
- mongo-config:/data/configdb
volumes:
mongo-data:
mongo-config:
Build¶
To start the logBee server and all the necessary prerequisites, use docker-compose up
command.
C:\logBee_Docker> docker-compose up
After all the services have been created, you can access the applications on the following urls:
logbee.Frontend: http://localhost:44080/
logbee.Backend: http://localhost:44088/
To authenticate, use the following token:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.HP79qro7bvfH7BneUy5jB9Owc_5D2UavFDulRETAl9E
For technical support, questions or any feedback, please feel free to send us a message and we will get back to you.