diff --git a/README.md b/README.md index 51cdd156..8f444346 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ | sonashow | thewicklowwolf/sonashow:latest | | soularr | mrusse08/soularr:latest | | soulseek | slskd/slskd | +| sourcebot | ghcr.io/sourcebot-dev/sourcebot:latest | | speedtest-tracker | lscr.io/linuxserver/speedtest-tracker:latest | | spotisub | blastbeng/spotisub:latest | | swag | lscr.io/linuxserver/swag:latest | diff --git a/ansible/app-configs/sourcebot_config.json.j2 b/ansible/app-configs/sourcebot_config.json.j2 new file mode 100644 index 00000000..5a522c03 --- /dev/null +++ b/ansible/app-configs/sourcebot_config.json.j2 @@ -0,0 +1,19 @@ +{% set vault_addr = 'https://vault.trez.wtf' %} +{% set secrets_path = 'rinoa-docker/env' %} + +{ + "$schema": "../schemas/v2/index.json", + "repos": [ + { + "type": "gitea", + "token": "{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['GITEA_SONARQUBE_BOT_GITEA_TOKEN'] }}", + "url": "https://git.trez.wtf", + "revisions": { + "branches": [ + "main", + "*" + ] + } + } + ] +} diff --git a/docker-compose.yml b/docker-compose.yml index 86c2b440..d010797b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2094,22 +2094,22 @@ services: target: 8003 restart: always volumes: - - source: ${DOCKER_VOLUME_CONFIG}/invoice_ninja/app/public + - source: ${DOCKER_VOLUME_CONFIG}/invoice-ninja/app/public target: /var/www/app/public type: bind bind: create_host_path: true - - source: ${DOCKER_VOLUME_CONFIG}/invoice_ninja/app/storage + - source: ${DOCKER_VOLUME_CONFIG}/invoice-ninja/app/storage target: /var/www/app/storage type: bind bind: create_host_path: true - - source: ${DOCKER_VOLUME_CONFIG}/invoice_ninja/php/php.ini + - source: ${DOCKER_VOLUME_CONFIG}/invoice-ninja/php/php.ini target: /usr/local/etc/php/php.ini type: bind bind: create_host_path: true - - source: ${DOCKER_VOLUME_CONFIG}/invoice_ninja/php/php-cli.ini + - source: ${DOCKER_VOLUME_CONFIG}/invoice-ninja/php/php-cli.ini target: /usr/local/etc/php/php-cli.ini type: bind bind: @@ -4770,6 +4770,27 @@ services: type: bind bind: create_host_path: true + sourcebot: + container_name: sourcebot + environment: + CONFIG_PATH: /data/config.json + image: ghcr.io/sourcebot-dev/sourcebot:latest + labels: + homepage.name: Sourcebot + homepage.group: Code/DevOps + homepage.description: Self-hosted internet performance tracking + homepage.href: https://source.${MY_TLD} + homepage.icon: /icons/sourcebot.png + swag: enable + swag_proto: http + swag_url: source.${MY_TLD} + swag.uptime-kuma.enabled: true + swag.uptime-kuma.monitor.url: https://source.${MY_TLD} + ports: + - 45251:3000 + restart: unless-stopped + volumes: + - ${DOCKER_VOLUME_CONFIG}/sourcebot:/data speedtest-tracker: container_name: speedtest-tracker image: lscr.io/linuxserver/speedtest-tracker:latest