Add a docker-compose file
This commit is contained in:
parent
4d3d336e9b
commit
49f3cc3133
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user