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",
"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

View File

@ -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",

View File

@ -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.)