diff --git a/public/svgs/bugsink.svg b/public/svgs/bugsink.svg new file mode 100644 index 0000000000..9818b1081b --- /dev/null +++ b/public/svgs/bugsink.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/compose/bugsink.yaml b/templates/compose/bugsink.yaml new file mode 100644 index 0000000000..bf015d7275 --- /dev/null +++ b/templates/compose/bugsink.yaml @@ -0,0 +1,41 @@ +# documentation: https://www.bugsink.com/docs/ +# slogan: Self-hosted Error Tracking +# tags: python, error-tracking, django, mysql +# logo: svgs/bugsink.svg +# port: 8000 +services: + mysql: + image: 'mysql:latest' + restart: unless-stopped + environment: + - 'MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_ROOT}' + - 'MYSQL_DATABASE=${MYSQL_DATABASE:-bugsink}' + - 'MYSQL_USER=${SERVICE_USER_BUGSINK}' + - 'MYSQL_PASSWORD=${SERVICE_PASSWORD_BUGSINK}' + volumes: + - 'my-datavolume:/var/lib/mysql' + healthcheck: + test: + - CMD + - mysqladmin + - ping + - '-h' + - 127.0.0.1 + interval: 5s + timeout: 20s + retries: 10 + web: + image: bugsink/bugsink + restart: unless-stopped + environment: + - SECRET_KEY=$SERVICE_PASSWORD_64_BUGSINK + - 'CREATE_SUPERUSER=admin:${SERVICE_PASSWORD_BUGSINK}' + - SERVICE_FQDN_BUGSINK_8000 + - 'BASE_URL=${SERVICE_FQDN_BUGSINK_8000}' + - 'DATABASE_URL=mysql://${SERVICE_USER_BUGSINK}:$SERVICE_PASSWORD_BUGSINK@mysql:3306/${MYSQL_DATABASE:-bugsink}' + depends_on: + mysql: + condition: service_healthy + +volumes: + my-datavolume: \ No newline at end of file