add basic db and auth functionality and dev container

This commit is contained in:
maxid
2025-02-13 21:03:51 +01:00
parent f22eeef608
commit ab6fc52e42
13 changed files with 363 additions and 13 deletions

View File

@@ -0,0 +1,28 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/postgres
{
"name": "Python 3 & PostgreSQL",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or the host.
// "forwardPorts": [5000, 5432],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip install --user -r ./MediaManager/src/requirements.txt",
// Configure tool-specific properties.
"customizations" : {
"jetbrains" : {
"backend" : "PyCharm"
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}