]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/test.yaml
Fix CI using 127.0.0.1 for tests
[github/Chocobozzz/PeerTube.git] / config / test.yaml
index 8118c479b660194520cd61b52431c24a5812609c..878d68cb9829768a7a53fbcc3bfc868a78e10790 100644 (file)
@@ -3,8 +3,12 @@ listen:
   port: 9000
 
 webserver:
+  hostname: '127.0.0.1'
   https: false
 
+secrets:
+  peertube: 'my super secret'
+
 rates_limit:
   signup:
     window: 10 minutes
@@ -17,18 +21,18 @@ rates_limit:
     max: 500
 
 database:
-  hostname: 'localhost'
+  hostname: '127.0.0.1'
   port: 5432
 
 redis:
-  hostname: 'localhost'
+  hostname: '127.0.0.1'
 
 smtp:
   hostname: null
   port: 1025
   tls: false
   disable_starttls: true
-  from_address: 'test-admin@localhost'
+  from_address: 'test-admin@127.0.0.1'
   username: null
   password: null
 
@@ -120,9 +124,6 @@ import:
     concurrency: 2
     http:
       enabled: true
-      youtube_dl_release:
-        url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
-        name: 'yt-dlp'
     torrent:
       enabled: true
 
@@ -133,28 +134,6 @@ plugins:
   index:
     check_latest_versions_interval: '10 minutes'
 
-search:
-  # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
-  # If enabled, the associated group will be able to "escape" from the instance follows
-  # That means they will be able to follow channels, watch videos, list videos of non followed instances
-  remote_uri:
-    users: true
-    anonymous: false
-
-  # Use a third party index instead of your local index, only for search results
-  # Useful to discover content outside of your instance
-  search_index:
-    enabled: false
-    # URL of the search index, that should use the same search API and routes
-    # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
-    # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
-    # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
-    url: 'http://localhost:3234'
-    # You can disable local search, so users only use the search index
-    disable_local_search: false
-    # If you did not disable local search, you can decide to use the search index by default
-    is_default_search: true
-
 federation:
   videos:
     federate_unlisted: true
@@ -173,3 +152,8 @@ geo_ip:
 
 video_studio:
   enabled: true
+
+open_telemetry:
+  metrics:
+    prometheus_exporter:
+      port: 9092