mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-15 17:37:30 +01:00
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:
12
README.md
12
README.md
@@ -42,7 +42,7 @@ To install all node dependencies, run (do this once):
|
||||
|
||||
# Configuration
|
||||
|
||||
See [config/default.json](config/default.json)
|
||||
See [config/default.json](config/default.json). Set `storage_local_path` for a local sqlite database or `storage_region`, `storage_bucket`, `storage_cdn` and `storage_endpoint` for AWS S3. `mail_provider` may be one of `console` or `smtp`. Also, omit a trailing `/` for the `endpoint`.
|
||||
|
||||
# Run (web server)
|
||||
|
||||
@@ -63,6 +63,16 @@ For advanced media conversion:
|
||||
By default, media files are uploaded to the ```storage``` folder.
|
||||
The database is stored in ```database.sqlite``` by default.
|
||||
|
||||
# Run with Docker
|
||||
|
||||
- configure `config/default.json`
|
||||
- configure `volumes` section inside `docker-compose.yml`
|
||||
- point to `database.sqlite` on the host system
|
||||
- `touch database.sqlite` if it not exists
|
||||
- point to `storage/` on the host system
|
||||
- `mkdir storage/` if it not exists
|
||||
- start the container with `sudo docker-compose up -f docker-compose.yml -d --build`
|
||||
|
||||
# Hacking
|
||||
|
||||
To rebuild the frontend CSS styles:
|
||||
|
||||
Reference in New Issue
Block a user