-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (36 loc) · 1.25 KB
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (36 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: "2"
services:
webapp:
image: vsc55/webscrapbook:latest
# To build locally and pin a WebScrapBook version, comment out "image:"
# above and uncomment the block below:
#build:
# context: .
# args:
# wsb_ver: 2.9.0 # empty or "dev" installs the latest release from PyPI
ports:
- "8080:8080"
environment:
- HTTP_PORT=8080
# Migrating a volume from an old root-based image? Set this to "true"
# once, restart, then remove it (forces a recursive chown of /data):
#- WSB_FIX_PERMS=true
# Authentication (uncomment to require login):
#- WSB_AUTH_USER=admin
#- WSB_AUTH_PASSWORD=changeme
#- WSB_AUTH_PERMISSION=all # all | read
# Behind a reverse proxy (number of trusted header values). Set
# WSB_ALLOWED_X_PREFIX and send X-Forwarded-Prefix to host on a subpath:
#- WSB_ALLOWED_X_FOR=1
#- WSB_ALLOWED_X_PROTO=1
#- WSB_ALLOWED_X_HOST=1
#- WSB_ALLOWED_X_PREFIX=1
# HTTPS (cert/key paths are relative to /data):
#- WSB_SSL_ON=true
#- WSB_SSL_CERT=.wsb/server.crt
#- WSB_SSL_KEY=.wsb/server.key
# Appearance:
#- WSB_APP_NAME=My ScrapBook
#- WSB_LOCALE=en
volumes:
- ./webscrapbook_data:/data