summaryrefslogtreecommitdiffstats
path: root/.devcontainer
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-10-18 20:33:49 +0200
committerDaniel Baumann <daniel@debian.org>2024-12-12 23:57:56 +0100
commite68b9d00a6e05b3a941f63ffb696f91e554ac5ec (patch)
tree97775d6c13b0f416af55314eb6a89ef792474615 /.devcontainer
parentInitial commit. (diff)
downloadforgejo-e68b9d00a6e05b3a941f63ffb696f91e554ac5ec.tar.xz
forgejo-e68b9d00a6e05b3a941f63ffb696f91e554ac5ec.zip
Adding upstream version 9.0.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to '')
-rw-r--r--.devcontainer/devcontainer.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 0000000..da64901
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,42 @@
+{
+ "name": "Gitea DevContainer",
+ "image": "mcr.microsoft.com/devcontainers/go:1.23-bullseye",
+ "features": {
+ // installs nodejs into container
+ "ghcr.io/devcontainers/features/node:1": {
+ "version": "20"
+ },
+ "ghcr.io/devcontainers/features/git-lfs:1.2.1": {},
+ "ghcr.io/devcontainers-contrib/features/poetry:2": {},
+ "ghcr.io/devcontainers/features/python:1": {
+ "version": "3.12"
+ },
+ "ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
+ },
+ "customizations": {
+ "vscode": {
+ "settings": {},
+ // same extensions as Gitpod, should match /.gitpod.yml
+ "extensions": [
+ "editorconfig.editorconfig",
+ "dbaeumer.vscode-eslint",
+ "golang.go",
+ "stylelint.vscode-stylelint",
+ "DavidAnson.vscode-markdownlint",
+ "Vue.volar",
+ "ms-azuretools.vscode-docker",
+ "vitest.explorer",
+ "cweijan.vscode-database-client2",
+ "GitHub.vscode-pull-request-github",
+ "Azurite.azurite"
+ ]
+ }
+ },
+ "portsAttributes": {
+ "3000": {
+ "label": "Gitea Web",
+ "onAutoForward": "notify"
+ }
+ },
+ "postCreateCommand": "make deps"
+}