Added docker-compose.yml

This commit is contained in:
Felix Breidenstein 2018-02-20 12:32:02 +01:00
parent d3c3cb0c1f
commit 5602e47c5f
1 changed files with 15 additions and 0 deletions

15
docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
version: '3'
services:
privatebin:
build: .
ports:
- "3000:80"
volumes:
- data:/var/www/html/data
# Optionally mount a custom config file
#- /srv/docker/privatebin/conf.php:/var/www/html/cfg/conf.php
volumes:
data: