Added devcontainer for pgsql development

This commit is contained in:
JPVenson 2025-01-27 19:14:11 +00:00
parent 4ce0d498ab
commit 74858042fc
4 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,8 @@
{
"name": "Development Jellyfin Server",
"image": "mcr.microsoft.com/devcontainers/dotnet:9.0-bookworm",
"service": "app",
"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

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm
FROM mcr.microsoft.com/devcontainers/dotnet:9.0-bookworm
# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

View File

@ -1,7 +1,8 @@
{
"name": "Development Jellyfin Server",
"image": "mcr.microsoft.com/devcontainers/dotnet:9.0-bookworm",
"dockerComposeFile": "docker-compose.yml",
"dockerComposeFile": "docker-compose.yaml",
"service": "app",
"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

@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile
volumes:
- ../..:/workspaces:cached
- ../../..:/workspaces:cached
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity