Fixed whitespace formatting

This commit is contained in:
JPVenson 2025-02-02 02:10:14 +00:00
parent 17003f4d76
commit 4b57f2bdbb
3 changed files with 16 additions and 16 deletions

View File

@ -2,7 +2,7 @@
"name": "Development Jellyfin Server", "name": "Development Jellyfin Server",
"image": "mcr.microsoft.com/devcontainers/dotnet:9.0-bookworm", "image": "mcr.microsoft.com/devcontainers/dotnet:9.0-bookworm",
"service": "app", "service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// restores nuget packages, installs the dotnet workloads and installs the dev https certificate // 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\"", "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 // reads the extensions list and installs them

View File

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

View File

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