Add docker file templates
This commit is contained in:
parent
e4f9c9fdc6
commit
491b3c8441
2 changed files with 19 additions and 0 deletions
4
private/templates/dockerfile-mode/__
Normal file
4
private/templates/dockerfile-mode/__
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM ${1:phusion/baseimage:latest}
|
||||
MAINTAINER ${2:Henrik Lissner <henrik@lissner.net>}
|
||||
|
||||
$0
|
15
private/templates/yaml-mode/__docker-compose.yml
Normal file
15
private/templates/yaml-mode/__docker-compose.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./public:/var/www
|
||||
links:
|
||||
- mysql
|
||||
- memcache
|
||||
|
||||
mysql:
|
||||
image: mysql
|
||||
|
||||
redis:
|
||||
image: redis
|
Loading…
Add table
Add a link
Reference in a new issue