mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add docker file templates
This commit is contained in:
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
|
Reference in New Issue
Block a user