mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
build: simplify docker setup and fix e2e
This commit is contained in:
parent
c9e6bba64a
commit
ed2d99a852
5 changed files with 34 additions and 987 deletions
|
|
@ -1,26 +1,23 @@
|
|||
services:
|
||||
sp:
|
||||
# Super Productivity app
|
||||
app:
|
||||
image: johannesjo/super-productivity:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- '8080:80'
|
||||
environment:
|
||||
# WebDAV backend served at `/webdav/` subdirectory (Optional)
|
||||
# Used with "webdav" container below
|
||||
- WEBDAV_BACKEND=http://webdav
|
||||
# Pre-configured defaults for easier setup
|
||||
WEBDAV_BASE_URL: ${WEBDAV_BASE_URL:-http://localhost:2345/}
|
||||
WEBDAV_USERNAME: ${WEBDAV_USERNAME:-admin}
|
||||
WEBDAV_SYNC_FOLDER_PATH: ${WEBDAV_SYNC_FOLDER_PATH:-/}
|
||||
SYNC_INTERVAL: ${SYNC_INTERVAL:-15}
|
||||
IS_COMPRESSION_ENABLED: ${IS_COMPRESSION_ENABLED:-true}
|
||||
IS_ENCRYPTION_ENABLED: ${IS_ENCRYPTION_ENABLED:-false}
|
||||
|
||||
# Default values in "Sync" section in "Settings" page (Optional)
|
||||
# Useful for single user instances
|
||||
- WEBDAV_BASE_URL=<base-url>
|
||||
- WEBDAV_USERNAME=<username>
|
||||
- WEBDAV_SYNC_FOLDER_PATH=<sync-folder-path>
|
||||
- SYNC_INTERVAL=<integer-in-minutes>
|
||||
- IS_COMPRESSION_ENABLED=<true-or-false>
|
||||
- IS_ENCRYPTION_ENABLED=<true-or-false>
|
||||
|
||||
# WebDAV backend server (Optional)
|
||||
# Used with the WEBDAV_BACKEND environment variable
|
||||
# WebDAV sync server
|
||||
webdav:
|
||||
image: hacdias/webdav:latest
|
||||
ports:
|
||||
- '2345:2345'
|
||||
volumes:
|
||||
- ./webdav.yaml:/config.yml:ro
|
||||
- ./data:/data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue