Skip to content

Commit

Permalink
Add SQLite and Grafana configurations to Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Faizan-hub committed Jan 15, 2025
1 parent 629bc30 commit d12278b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,28 @@ services:
networks:
- operandi
command: operandi-broker start

sqlite:
image: nouchka/sqlite3
container_name: operandi-sqlite
hostname: sqlite-host
volumes:
- "${PWD}/sqlite_data/operandi.db:/operandi.db" # Mount the entire directory to ensure persistence
networks:
- operandi



grafana:
image: grafana/grafana-enterprise:latest
container_name: grafana
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
environment:
- GF_LOG_LEVEL=debug # Enable debug logs (optional)
restart: always

volumes:
grafana-data:

0 comments on commit d12278b

Please sign in to comment.