Add docker files (#55)

* Add docker files

* Improve docker-compose compatibility

* Use Openstack's standard port

* Use package ffmpeg-dev instead of ffmpeg

* improve dockerfile and config

* Add short docker guide

* adhere to previous naming conventions

* document former json comments

* Undo init.sh approach to touching the db file

* Make clear that it's about files on the host system

* add local path specifier

Co-authored-by: Denys Vitali <denys.vitali@swisscom.com>
This commit is contained in:
Florian Kohrt
2020-05-19 22:19:43 +02:00
committed by GitHub
parent 077bf165c7
commit 3ce40c51a6
6 changed files with 65 additions and 7 deletions

12
docker-compose.yml Normal file
View File

@@ -0,0 +1,12 @@
version: "2.0"
services:
spacedeck:
build: .
container_name: spacedeck
ports:
- "9666:9666"
volumes:
- /absolute/path/to/storage:/app/storage
- /absolute/path/to/database.sqlite:/app/database.sqlite