-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·69 lines (57 loc) · 1.33 KB
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·69 lines (57 loc) · 1.33 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
services:
bitlbee:
build:
context: .
dockerfile: Dockerfile
cache_from:
- docker.io/mbologna/docker-bitlbee:latest
image: docker.io/mbologna/docker-bitlbee:latest
container_name: bitlbee
restart: unless-stopped
ports:
- "${BITLBEE_PORT:-6697}:6697"
volumes:
- bitlbee-data:/var/lib/bitlbee
user: "${UID:-1000}:${GID:-1000}"
environment:
- TZ=${TZ:-UTC}
# Optional: fix the Matrix registration token (auto-generated if unset)
- MATRIX_REGISTRATION_TOKEN=${MATRIX_REGISTRATION_TOKEN:-}
healthcheck:
test: ["CMD", "/usr/local/bin/healthcheck.sh"]
interval: 30s
timeout: 5s
retries: 3
# Allow extra time for conduwuit + mautrix-meta first-run init
start_period: 30s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
compress: "true"
networks:
- bitlbee-net
deploy:
resources:
limits:
memory: 512m
cpus: "1.0"
reservations:
memory: 128m
cpus: "0.25"
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
networks:
bitlbee-net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.28.0.0/16
volumes:
bitlbee-data:
driver: local