Переглянути джерело

Fixed whitespace formatting

JPVenson 4 місяців тому
батько
коміт
4b57f2bdbb

+ 1 - 1
.devcontainer/devcontainer.json

@@ -2,7 +2,7 @@
     "name": "Development Jellyfin Server",
     "image": "mcr.microsoft.com/devcontainers/dotnet:9.0-bookworm",
     "service": "app",
-	"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
+    "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
     // restores nuget packages, installs the dotnet workloads and installs the dev https certificate
     "postStartCommand": "sudo dotnet restore; sudo dotnet workload update; sudo dotnet dev-certs https --trust; sudo bash \"./.devcontainer/install-ffmpeg.sh\"",
     // reads the extensions list and installs them

+ 15 - 13
.devcontainer/pgsql/devcontainer.json

@@ -2,24 +2,26 @@
     "name": "Development Jellyfin Server",
     "dockerComposeFile": "docker-compose.yaml",
     "service": "app",
-	"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
+    "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
     // restores nuget packages, installs the dotnet workloads and installs the dev https certificate
     "postStartCommand": "sudo dotnet restore; sudo dotnet workload update; sudo dotnet dev-certs https --trust; sudo bash \"./.devcontainer/install-ffmpeg.sh\"",
     // reads the extensions list and installs them
     "postAttachCommand": "cat .vscode/extensions.json | jq -r .recommendations[] | xargs -n 1 code --install-extension",
-    "forwardPorts": ["pgadmin:8081"],
-	"portsAttributes": {
-		"8081": {
-			"label": "pgAdmin",
-			"onAutoForward": "notify",
-			"requireLocalPort": true
-		},
+    "forwardPorts": [
+        "pgadmin:8081"
+    ],
+    "portsAttributes": {
+        "8081": {
+            "label": "pgAdmin",
+            "onAutoForward": "notify",
+            "requireLocalPort": true
+        },
         "8096": {
-			"label": "jellyfinapi",
-			"onAutoForward": "notify",
-			"requireLocalPort": true
-		}
-	},
+            "label": "jellyfinapi",
+            "onAutoForward": "notify",
+            "requireLocalPort": true
+        }
+    },
     "features": {
         "ghcr.io/devcontainers/features/dotnet:2": {
             "version": "none",

+ 0 - 2
.devcontainer/pgsql/docker-compose.yaml

@@ -14,7 +14,6 @@ services:
 
     # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
     network_mode: service:pgadmin
-
     # Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
     # user: root
 
@@ -42,7 +41,6 @@ services:
       - PGADMIN_LISTEN_PORT=8081
       - PGADMIN_SERVER_JSON_FILE=/pgadmin/servers.json
       - PGADMIN_CONFIG_SERVER_MODE=False
-
     # Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally.
     # (Adding the "ports" property to this file will not forward from a Codespace.)