init
This commit is contained in:
parent
7dde9de9bf
commit
7467f2267d
2
.devcontainer/.env
Normal file
2
.devcontainer/.env
Normal file
@ -0,0 +1,2 @@
|
||||
PROJECT_NAME=loafle.tekton-hub
|
||||
DEV_USER=${USER}
|
@ -1,10 +1,13 @@
|
||||
{
|
||||
"name": "loafle.tekton-hub",
|
||||
"name": "${env:PROJECT_NAME}",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"dockerComposeFile": "docker-compose.yaml",
|
||||
"service": "app",
|
||||
"workspaceFolder": "/workspace",
|
||||
"shutdownAction": "stopCompose",
|
||||
"containerEnv": {
|
||||
"DEV_USERNAME": "${localEnv:USER}" // 컨테이너 안에서 식별 가능하게
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/git:1": {},
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||
|
@ -9,6 +9,7 @@ services:
|
||||
# [Optional] You can use build args to set options. e.g. 'VARIANT' below affects the image in the Dockerfile
|
||||
# args:
|
||||
# VARIANT: buster
|
||||
container_name: "${PROJECT_NAME}-${DEV_USER}"
|
||||
# environment:
|
||||
# PORT: 3000
|
||||
# ports:
|
||||
|
Loading…
x
Reference in New Issue
Block a user