mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-23 17:52:29 -04:00
Fixed whitespace formatting
This commit is contained in:
parent
17003f4d76
commit
4b57f2bdbb
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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.)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user