-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
55 lines (50 loc) · 2.05 KB
/
Copy path.env.example
File metadata and controls
55 lines (50 loc) · 2.05 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Tested multi-platform release. Override this to pin a version or use a local image.
TRUTHGATE_IMAGE=magiccodingman/truthgate-ipfs:stable
# Build inputs. Both official base images are multi-platform.
DOTNET_VERSION=10.0
KUBO_VERSION=v0.42.0
TRUTHGATE_UID=1000
TRUTHGATE_GID=1000
# Host ports.
TRUTHGATE_HTTP_PORT=80
TRUTHGATE_HTTPS_PORT=443
TRUTHGATE_DEV_HTTP_PORT=8080
IPFS_SWARM_PORT=4001
# Persistent host paths. The blockstore is always separate so it can later be
# moved to different storage without changing the container's Kubo layout.
TRUTHGATE_DATA_HOST_PATH=./data/truthgate
IPFS_REPO_HOST_PATH=./data/ipfs/repo
IPFS_BLOCKS_HOST_PATH=./data/ipfs/blocks
# Certificate behavior.
TRUTHGATE_ACME_STAGING=false
# Optional comma-separated IP addresses for the self-signed fallback cert.
TRUTHGATE_CERT_IPS=
# TruthGate creates data/truthgate/config/kubo-settings.json on first boot.
# That persistent file contains the normal server defaults and is the future
# control-plane contract for the TruthGate UI. Uncomment any value below to
# override the corresponding persistent setting from Docker/Compose.
#
# TRUTHGATE_KUBO_APPLY_SERVER_PROFILE=true
# TRUTHGATE_KUBO_ENSURE_SWARM_LISTENERS=true
# TRUTHGATE_KUBO_ROUTING_TYPE=dhtserver
# TRUTHGATE_KUBO_HOLE_PUNCHING=true
# TRUTHGATE_KUBO_RELAY_CLIENT=true
# TRUTHGATE_KUBO_PROVIDE_ENABLED=true
# TRUTHGATE_KUBO_PROVIDE_STRATEGY=all
# TRUTHGATE_KUBO_PROVIDE_INTERVAL=22h
# TRUTHGATE_KUBO_PROVIDE_SWEEP=true
# TRUTHGATE_KUBO_PROVIDE_RESUME=true
#
# Storage can be "auto" or any Kubo size such as 750GB, 2TB, or 5TiB.
# Auto uses the configured percentage of the filesystem containing the blockstore.
# TRUTHGATE_KUBO_STORAGE_MAX=auto
# TRUTHGATE_KUBO_STORAGE_PERCENT=90
# TRUTHGATE_KUBO_STORAGE_FALLBACK=200GB
# TRUTHGATE_KUBO_STORAGE_GC_WATERMARK=90
# TRUTHGATE_KUBO_ENABLE_GC=true
#
# Public addresses can be "auto", "off", or a literal address. The announce
# port defaults to IPFS_SWARM_PORT so non-default Docker host mappings work.
# TRUTHGATE_KUBO_PUBLIC_IPV4=auto
# TRUTHGATE_KUBO_PUBLIC_IPV6=auto
# TRUTHGATE_KUBO_ANNOUNCE_PORT=4001