Add a docker-compose file

This commit is contained in:
Wojciech Kozlowski 2017-09-16 21:27:47 +01:00
parent 4d3d336e9b
commit 49f3cc3133

28
docker-compose.yml Normal file
View File

@ -0,0 +1,28 @@
version: '2'
volumes:
vol_wiki:
services:
html:
container_name: docker_html
build: html
image: html
wiki:
container_name: docker_wiki
build: dokuwiki
image: wiki
volumes:
- vol_wiki:/var/dokuwiki-storage
proxy:
container_name: docker_proxy
build: nginx-proxy
image: proxy
ports:
- 80:80
links:
- html
- wiki
restart: always