Created
November 5, 2025 22:53
-
-
Save froemken/d2c46c3f0f799bd5058f6c7921cdf63a to your computer and use it in GitHub Desktop.
Configure Bugsink (no teams/members) on MariaDB locally via compose.yaml on Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| db: | |
| image: mariadb:11.4 | |
| restart: unless-stopped | |
| environment: | |
| MARIADB_ROOT_PASSWORD: "GehtDichNixAn" | |
| MARIADB_USER: "bugsink" | |
| MARIADB_PASSWORD: "bugsink" | |
| MARIADB_DATABASE: "bugsink" | |
| volumes: | |
| - db-data:/var/lib/mysql | |
| healthcheck: | |
| test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] | |
| start_period: 10s | |
| interval: 10s | |
| timeout: 5s | |
| retries: 3 | |
| web: | |
| image: bugsink/bugsink:2 | |
| depends_on: | |
| db: | |
| condition: service_healthy | |
| restart: unless-stopped | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| SECRET_KEY: "1234...bis...50" | |
| CREATE_SUPERUSER: "[EMAIL]:[Password]" # First must be email, else email notification will not work | |
| PORT: 8000 | |
| DATABASE_URL: "mysql://bugsink:bugsink@db:3306/bugsink" | |
| BEHIND_HTTPS_PROXY: "false" | |
| BASE_URL: "http://localhost:8000" | |
| TIME_ZONE: "Europe/Berlin" | |
| SINGLE_USER: true # Deactivate teams, members, registration | |
| EMAIL_HOST: "smtp.example.com" | |
| EMAIL_HOST_USER: "[email protected]" | |
| EMAIL_HOST_PASSWORD: "DumDiDumDiDum" | |
| EMAIL_PORT: 465 # Defaults to 587. Switches automatically, which EMAIL_USE_ is activated | |
| EMAIL_USE_TLS: false # defaults to True | |
| EMAIL_USE_SSL: true # defaults to False | |
| EMAIL_LOGGING: true # Deactivate, if not needed | |
| DEFAULT_FROM_EMAIL: "[email protected]" # Should be your real email address to prevent SPAM detection | |
| healthcheck: | |
| test: ["CMD-SHELL", "python -c 'import requests; requests.get(\"http://localhost:8000/\").raise_for_status()'"] | |
| interval: 5s | |
| timeout: 20s | |
| retries: 10 | |
| volumes: | |
| db-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment