Skip to content

Commit

Permalink
current progress with doppler trials
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlaefli committed Oct 27, 2023
1 parent b8da1ba commit fb0531d
Showing 1 changed file with 24 additions and 15 deletions.
39 changes: 24 additions & 15 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,33 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node-postgres
{
"name": "KlickerUZH Dev Container",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"name": "KlickerUZH Dev Container",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/itsmechlark/features/doppler:2": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or with the host.
// "forwardPorts": [3000, 5432],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or with the host.
// "forwardPorts": [3000, 5432],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm install"
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm install",
// Configure tool-specific properties.
// "customizations": {},

// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
// see https://github.com/DopplerUniversity/mandalorian-gifs-node/blob/main/.devcontainer/devcontainer.json
// start vscode from the terminal using doppler run -- code .
"containerEnv": {
"DOPPLER_PROJECT": "klicker-uzh",
"DOPPLER_CONFIG": "dev",
"DOPPLER_TOKEN": "${localEnv:DOPPLER_TOKEN}" // Don't hard-code this!
}
}

0 comments on commit fb0531d

Please sign in to comment.