-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
52 lines (47 loc) · 1.66 KB
/
docker-compose.example.yml
File metadata and controls
52 lines (47 loc) · 1.66 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
# Example Docker Compose for bitsocial-cli
#
# Quick start:
# cp docker-compose.example.yml docker-compose.yml
# docker compose up -d
#
# View logs (includes RPC auth key URL):
# docker compose logs -f
#
# Access web UI:
# Open the URL printed in logs, e.g.:
# http://localhost:9138/seedit (local connections only)
# http://<your-ip>:9138/<auth-key>/seedit (remote connections)
services:
bitsocial:
image: ${BITSOCIAL_IMAGE:-ghcr.io/bitsocialhq/bitsocial-cli:latest}
container_name: bitsocial
restart: unless-stopped
ports:
- "9138:9138" # Plebbit RPC + Web UI
- "50019:50019" # Kubo IPFS API
- "6473:6473" # IPFS Gateway
volumes:
- bitsocial-data:/data
- bitsocial-logs:/logs
# Increase UDP buffer limits for QUIC transport (used by Kubo/IPFS).
# Prevents: "failed to sufficiently increase receive buffer size" warning.
sysctls:
- net.core.rmem_max=7500000
- net.core.wmem_max=7500000
environment:
- DEBUG=bitsocial*, plebbit*, -plebbit*trace
# Set a fixed RPC auth key instead of a random one.
# Useful for bookmarking the web UI URL or scripting RPC access.
# If left unset, a random key is generated (visible in `docker compose logs`).
# - PLEBBIT_RPC_AUTH_KEY=your-custom-auth-key-here
# Override Kubo IPFS bind addresses / ports:
# - KUBO_RPC_URL=http://0.0.0.0:50019/api/v0
# - IPFS_GATEWAY_URL=http://0.0.0.0:6473
# # Uncomment to build from source instead of pulling the image:
# build:
# context: .
# args:
# GITHUB_TOKEN: ${GITHUB_TOKEN:-}
volumes:
bitsocial-data:
bitsocial-logs: