This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml.server.example
103 lines (97 loc) · 3.16 KB
/
docker-compose.yml.server.example
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '3'
services:
hydrus-server:
image: mtbl/hydrus-server-docker:latest
restart: always
ports:
- '45870:45870'
- '45871:45871'
- '45872:45872'
volumes:
- data:/data
environment:
- TZ=Etc/UTC
hyve-sync:
image: mtbl/hyve:latest
command: sync-server
depends_on:
- hydrus-server
restart: always
volumes:
- data:/data
environment:
- TZ=Etc/UTC
- HYVE_CONTENT_DB_PATH=/data/content.db
- HYVE_HYDRUS_SERVER_DB_PATH=/data/server.db
- HYVE_HYDRUS_MASTER_DB_PATH=/data/server.master.db
- HYVE_HYDRUS_MAPPINGS_DB_PATH=/data/server.mappings.db
- HYVE_HYDRUS_TAG_REPOSITORY=2
- HYVE_HYDRUS_FILE_REPOSITORY=3
- HYVE_HYDRUS_SUPPORTED_MIME_TYPES=1,2,3,4,9,14,18,20,21,23,25,26,27,33
- HYVE_HYDRUS_EXCLUDED_TAGS=
- HYVE_DOCKER_CRON_SCHEDULE=0 4 * * *
hyve-server:
image: mtbl/hyve:latest
command: server
depends_on:
- hyve-sync
restart: always
ports:
- '8000:8000'
volumes:
- data:/data
environment:
- TZ=Etc/UTC
- NODE_ENV=production
- HYVE_URL=http://localhost:8000
- HYVE_PORT=8000
- HYVE_API_BASE=/api
- HYVE_MEDIA_BASE=/media
- HYVE_CROSS_ORIGIN_ALLOWED=true
- HYVE_AUTHENTICATION_DB_PATH=/data/authentication.db
- HYVE_CONTENT_DB_PATH=/data/content.db
- HYVE_HYDRUS_FILES_PATH=/data/server_files
- HYVE_HYDRUS_FILES_MODE=server
- HYVE_NUMBER_OF_WORKERS=
- HYVE_DB_CHECKPOINT_INTERVAL=3600
- HYVE_REGISTRATION_ENABLED=true
- HYVE_AUTHENTICATION_REQUIRED=true
- HYVE_MIN_PASSWORD_LENGTH=16
- HYVE_FILES_PER_PAGE=42
- HYVE_TAGS_PER_PAGE=42
- HYVE_MOST_USED_TAGS_LIMIT=20
- HYVE_AUTOCOMPLETE_LIMIT=10
- HYVE_COUNTS_ENABLED=true
- HYVE_COUNTS_CACHING_ENABLED=true
- HYVE_ACCESS_LOGGING_ENABLED=false
- HYVE_ACCESS_LOGFILE_PATH_OVERRIDE=/data/hyve-logs/access.log
hyve-web:
image: mtbl/hyve:latest
command: web
depends_on:
- hyve-server
restart: always
ports:
- '8080:8080'
environment:
- TZ=Etc/UTC
- VUE_APP_HYVE_TITLE=hyve
- VUE_APP_HYVE_SUBTITLE=A Vue-based frontend for <a href="https://github.com/mtbl/hyve" target="_blank" rel="noopener">hyve</a>
- VUE_APP_HYVE_DESCRIPTION=A Vue-based frontend for hyve
- VUE_APP_HYVE_ROBOTS=noindex, nofollow
- VUE_APP_HYVE_PRIMARY_COLOR=#3449bb
- VUE_APP_HYVE_PRIMARY_COLOR_DARK=#500ea5
- VUE_APP_HYVE_USE_NORMAL_LETTER_CASE=false
- VUE_APP_HYVE_SHOW_LOGO=true
- VUE_APP_HYVE_SHOW_TAG_CLOUD=false
- VUE_APP_IPFS_GATEWAY_BASE_URL=https://ipfs.io/ipfs
- VUE_APP_HYVE_API_URL=http://localhost:8000/api
- VUE_APP_HYVE_REGISTRATION_ENABLED=true
- VUE_APP_HYVE_AUTHENTICATION_REQUIRED=true
- VUE_APP_HYVE_MIN_PASSWORD_LENGTH=16
- VUE_APP_HYVE_COUNTS_ENABLED=true
- VUE_APP_HYVE_FALLBACK_FILES_SORTING_NAMESPACE=namespace
- VUE_APP_HYVE_DEFAULT_NAMESPACE_COLORS=character#00b401|creator#bb1800|meta#676767|person#008f00|series#bb2cb9|studio#941100
- VUE_APP_HYVE_FALLBACK_NAMESPACE_COLOR=#0088fb
volumes:
data: