-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
46 lines (43 loc) · 1.36 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
# 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
stop_grace_period: 30s
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
# Optional environment variables:
# environment:
# DEBUG: bitsocial*, plebbit*, -plebbit*trace
# PLEBBIT_RPC_AUTH_KEY: your-custom-auth-key-here
# # Uncomment to build from source instead of pulling the image:
# build:
# context: .
# args:
# GITHUB_TOKEN: ${GITHUB_TOKEN:-}
volumes:
bitsocial-data:
bitsocial-logs: