blob: 63de6471712db7b153f08d7f0da95f8cd9f30306 (
plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#Copyright (c) Vaughn Nugent
#Licensed under the GNU AGPLv3
version: '3.6'
services:
simple-bookmark:
image: vnuge/simple-bookmark
container_name: simple-bookmark
restart: unless-stopped
volumes:
- ./data:/app/data
- ./assets:/app/usr/assets:ro
#uncomment to use your own ssl certs, otherwise a build-time cert will be used
#- ./ssl/cert.pem:/app/ssl/cert.pem:ro
#- ./ssl/key.pem:/app/ssl/key.pem:ro
ports:
- 8080:8080
environment:
MAX_BOOKMARKS: "5000"
REG_TOKEN_DURATION_MIN: "360" #6 hours
#SQL Config
SQL_LIB_PATH: "VNLib.Plugins.Extensions.Sql.SQLite.dll"
SQL_CONNECTION_STRING: "Data Source=data/simple-bookmark.db;"
#HC Vault
HC_VAULT_ADDR: ""
HC_VAULT_TOKEN: ""
HC_VAULT_TRUST_CERT: "false"
#VNCACHE (default to memory only)
CACHE_ASM_PATH: "VNLib.Data.Caching.Providers.VNCache.dll"
MEMCACHE_ONLY: "true"
REDIS_CONNECTION_STRING: ""
#at least one node required if MEMCACHE_ONLY is false
VNCACHE_INITIAL_NODES: "[]"
#ACCOUNTS
MAX_LOGIN_ATTEMPS: "10"
#SECRETS
PASSWORD_PEPPER: "" #A base64 encoded secret is required. raw string, vault://, file:// allowed
DATABASE_PASSWORD: ""
REDIS_PASSWORD: ""
#if MEMCACHE_ONLY is false, then the following keys are required to connect to a VNCACHE cluster
VNCACHE_CLIENT_PRIVATE_KEY: ""
VNCACHE_CACHE_PUBLIC_KEY: ""
#HTTP
HTTP_DOWNSTREAM_SERVERS: '[]'
HTTP_TRACE_ON: "false"
SERVER_ARGS: "--setup" #remove the setup flag after you are done setting up the server
|