Skip to content

Commit 364578b

Browse files
committed
add relative paths to docker
1 parent 38fffa5 commit 364578b

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## [X.X.X] - 2021-03-23
4+
5+
### Changes
6+
7+
- Replaced phantomjs with puppeteer #169
8+
- Create Hungarian language pack #174

README.md

+9-13
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ We appreciate filed issues, pull requests and general discussion.
1212

1313
# Features
1414

15-
- Create virtual whiteboards called *Spaces* with virtually unlimited size
15+
- Create virtual whiteboards called _Spaces_ with virtually unlimited size
1616
- Drag & drop images, videos and audio from your computer or the web
1717
- Write and format text with full control over fonts, colors and style
1818
- Draw, annotate and highlight with included graphical shapes
@@ -45,7 +45,6 @@ To install all node dependencies, run (do this once) after cloning the repositor
4545

4646
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`.
4747

48-
4948
## Disable DB logs
5049

5150
```json
@@ -61,7 +60,8 @@ Add a custom array of swatches to your config/default.json.
6160
**You should include the swatch transparent (rgba(0,0,0,0)) so users can remove the color applied.**
6261

6362
## Configure default colors
64-
You can define text, stroke and fill color in your config/default.json.
63+
64+
You can define text, stroke and fill color in your config/default.json.
6565

6666
**You also should include the default colors in your custom swatches palette.**
6767

@@ -107,8 +107,8 @@ For advanced media conversion:
107107

108108
# Data Storage
109109

110-
By default, media files are uploaded to the ```storage``` folder.
111-
The database is stored in ```database.sqlite``` by default.
110+
By default, media files are uploaded to the `storage` folder.
111+
The database is stored in `database.sqlite` by default.
112112

113113
# Other databases (Not officially supported)
114114

@@ -129,16 +129,12 @@ Adapt the other values as needed
129129
"storage_password": "password",
130130
```
131131

132-
133132
# Run with Docker
134133

135134
- configure `config/default.json`
136-
- configure `volumes` section inside `docker-compose.yml`
137-
- point to `database.sqlite` on the host system
138-
- `touch database.sqlite` if it not exists
139-
- point to `storage/` on the host system
140-
- `mkdir storage/` if it not exists
141-
- start the container with `sudo docker-compose up -f docker-compose.yml -d --build`
135+
- adapt your `docker-compose.yml` if needed.
136+
- start the container with `docker-compose up`
137+
(use `-d` for background process and `--build` for rebuilding the image)
142138

143139
# Hacking
144140

@@ -155,7 +151,7 @@ Spacedeck Open source code is released under the GNU Affero General Public Licen
155151
Spacedeck Open - Web-based Collaborative Whiteboard For Rich Media
156152
Copyright (C) 2011-2018 Lukas F. Hartmann, Martin Güther
157153
Icons and original CSS design copyright by Thomas Helbig
158-
154+
159155
This program is free software: you can redistribute it and/or modify
160156
it under the terms of the GNU Affero General Public License as
161157
published by the Free Software Foundation, either version 3 of the

docker-compose.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
version: "2.0"
2-
32
services:
43
spacedeck:
54
build: .
65
container_name: spacedeck
76
ports:
87
- "9666:9666"
98
volumes:
10-
- /absolute/path/to/storage:/app/storage
11-
- /absolute/path/to/database.sqlite:/app/database.sqlite
12-
9+
- ./storage:/app/storage
10+
- ./database.sqlite:/app/database.sqlite

0 commit comments

Comments
 (0)