Aggiunta compose come formato per yaml.
This commit is contained in:
parent
4668506ec5
commit
92536ac5e8
@ -39,3 +39,18 @@ snippet shellpipe "Creates a task with module shell and which supports pipes." b
|
||||
args:
|
||||
executable: /bin/bash
|
||||
endsnippet
|
||||
|
||||
snippet compose "Creates the skeleton of a docker-compose.yml file." b
|
||||
---
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
${1:${VISUAL:container}}:
|
||||
image: ${2:image}
|
||||
container_name: $1
|
||||
restart: unless-stopped
|
||||
environment: $0
|
||||
ports:
|
||||
volumes:
|
||||
networks:
|
||||
endsnippet
|
||||
|
Loading…
Reference in New Issue
Block a user