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