-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 932 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (34 loc) · 932 Bytes
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
version: '3.9'
services:
lucella:
image: gicelldev/lucella:latest
# Or build locally:
# build: .
container_name: lucella-server
restart: unless-stopped
ports:
- "7777:7777"
environment:
# REQUIRED: set your own secret key (min 16 chars)
LUCELLA_KEY: "change-this-to-your-secret-key-min-32-chars"
LUCELLA_HOST: "0.0.0.0"
LUCELLA_PORT: "7777"
LUCELLA_MAX_CONNECTIONS: "10000"
LUCELLA_MAX_RPS: "1000"
LUCELLA_DEBUG: "false"
healthcheck:
test: ["CMD", "lucella", "check", "--host", "127.0.0.1", "--port", "7777"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
# Optional: run with nginx reverse proxy + TLS
# nginx:
# image: nginx:alpine
# ports:
# - "443:443"
# volumes:
# - ./nginx.conf:/etc/nginx/nginx.conf:ro
# - ./certs:/etc/nginx/certs:ro
# depends_on:
# - lucella