mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:57:32 +00:00
configure dev container
This commit is contained in:
@@ -5,12 +5,12 @@
|
|||||||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/go:1": {
|
"ghcr.io/devcontainers/features/go:1": {
|
||||||
"version": "1.22"
|
"version": "1.24"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
|
"version": "lts/iron"
|
||||||
},
|
},
|
||||||
"ghcr.io/devcontainers/features/node:1": {},
|
|
||||||
"ghcr.io/guiyomh/features/golangci-lint:0": {},
|
"ghcr.io/guiyomh/features/golangci-lint:0": {},
|
||||||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
|
|
||||||
"ghcr.io/devcontainers/features/github-cli:1": {},
|
|
||||||
"ghcr.io/jungaretti/features/make:1": {}
|
"ghcr.io/jungaretti/features/make:1": {}
|
||||||
},
|
},
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
|
@@ -2,21 +2,14 @@ version: '3.8'
|
|||||||
services:
|
services:
|
||||||
devcontainer:
|
devcontainer:
|
||||||
image: mcr.microsoft.com/devcontainers/base:ubuntu
|
image: mcr.microsoft.com/devcontainers/base:ubuntu
|
||||||
|
user: "1000:1000"
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/workspaces:cached
|
- ..:/workspaces
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- ${HOME}:/home/${USER}
|
||||||
network_mode: service:db
|
network_mode: service:db
|
||||||
command: sleep infinity
|
command: sleep infinity
|
||||||
environment:
|
environment:
|
||||||
ZITADEL_DATABASE_POSTGRES_HOST: db
|
ZITADEL_DATABASE_POSTGRES_HOST: db
|
||||||
ZITADEL_DATABASE_POSTGRES_PORT: 5432
|
|
||||||
ZITADEL_DATABASE_POSTGRES_DATABASE: zitadel
|
|
||||||
ZITADEL_DATABASE_POSTGRES_USER_USERNAME: zitadel
|
|
||||||
ZITADEL_DATABASE_POSTGRES_USER_PASSWORD: zitadel
|
|
||||||
ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE: disable
|
|
||||||
ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME: postgres
|
|
||||||
ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD: postgres
|
|
||||||
ZITADEL_DATABASE_POSTGRES_ADMIN_SSL_MODE: disable
|
|
||||||
ZITADEL_EXTERNALSECURE: false
|
ZITADEL_EXTERNALSECURE: false
|
||||||
db:
|
db:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
|
Reference in New Issue
Block a user