Complete sample configuration for VSCode Remote Development on Containers
This commit is contained in:
parent
bc6ba25790
commit
88d06bb838
@ -1,7 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "Laradock",
|
"name": "Laradock",
|
||||||
"dockerComposeFile": ["../docker-compose.yml"],
|
"dockerComposeFile": [
|
||||||
"runServices": ["nginx", "postgres", "pgadmin"],
|
"../docker-compose.yml",
|
||||||
|
"docker-compose.extend.yml"
|
||||||
|
],
|
||||||
|
"remoteUser": "laradock",
|
||||||
|
"runServices": [
|
||||||
|
"nginx",
|
||||||
|
"postgres",
|
||||||
|
"pgadmin"
|
||||||
|
],
|
||||||
"service": "workspace",
|
"service": "workspace",
|
||||||
"workspaceFolder": "/var/www",
|
"workspaceFolder": "/var/www",
|
||||||
"shutdownAction": "stopCompose",
|
"shutdownAction": "stopCompose",
|
||||||
|
6
.devcontainer/docker-compose.extend-example.yml
Normal file
6
.devcontainer/docker-compose.extend-example.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
workspace:
|
||||||
|
volumes:
|
||||||
|
- ~/.gitconfig:/home/laradock/.gitconfig
|
||||||
|
- ~/.ssh:/home/laradock/.ssh:ro
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,5 +15,6 @@
|
|||||||
|
|
||||||
/.devcontainer/*
|
/.devcontainer/*
|
||||||
!/.devcontainer/devcontainer.example.json
|
!/.devcontainer/devcontainer.example.json
|
||||||
|
!/.devcontainer/docker-compose.extend-example.yml
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
Loading…
Reference in New Issue
Block a user