-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (42 loc) · 2.22 KB
/
docker-compose.yml
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
# This file is NOT designed to use exact.
# Please change the passwords and configure it as needed.
# Any appsettings.json or plugin-based configurations can be made in
# the [environment] property in the [hive] service can be added by using
# "__" (two underscores) for each property.
version: "3.9"
services:
hive:
image: ghcr.io/atlas-rhythm/hive:master
restart: unless-stopped
environment:
# Do not change the Host or Port unless you know what you are doing.
# Make sure that Database matches POSTGRES_DB in the [db] service environment.
# Make sure that User ID matches POSTGRES_USER in the [db] service environment.
# Make sure that Password matches POSTGRES_PASSWORD in the [db] service environment.
- ConnectionStrings__Default=User ID=postgres;Password=please-change-me;Host=db;Port=5432;Database=hive;Pooling=true;
# Plugin configuration can be done using environment variables, formatted as PLUGIN__<Plugin name, "." replaced with "_">__<Configuration key>
# See Hive.FileSystemCdnProvider configuration at https://github.com/Atlas-Rhythm/HiveCorePlugins/blob/master/docs/Hive.FileSystemCdnProvider/Configuration.md
# This particular configuration entry defines the public URL that is used to construct download links. Please change it to your public facing URL.
- PLUGIN__Hive_FileSystemCdnProvider__PublicUrlBase=please-change-me
depends_on:
- db
ports:
# 21034 is the port that Hive can be accessed from the host machine. You are free to change it to something that works for you.
- "21034:80"
# Please re-map these volumes to directories on your machine.
volumes:
# Where CDN objects (actual plugins) are stored
- /path/to/cdn/objects:/app/cdn/objects
# Where metadata about CDN objects are stored
- /path/to/cdn/metadata:/app/cdn/metadata
# Where Hive permission rules are stored
- /path/to/rules:/app/Rules
# Where external Hive plugins will be loaded from
#- /path/to/hive/plugins:/app/plugins
db:
image: postgres:12.8
restart: unless-stopped
environment:
- POSTGRES_DB=hive
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=please-change-me