Idea: Snippets for some well-known services (postgres, redis, etc.), including common ports
spotlesscoder opened this issue · 1 comments
spotlesscoder commented
Given that a user has created this file so far:
version: '3.8'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch
ports:
pressing enter should automatically open intellisense and suggest to add both the lines:
- 9200:9200
- 9300:9300
Because they are popular port mappings for elasticsearch
bwateratmsft commented
Good suggestion! We recently started collecting feedback related to Docker Compose language editing over in microsoft/vscode-docker#2539. I've added your suggestion to our checklist there; I'll close this issue.