-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 948 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (37 loc) · 948 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
37
38
services:
byedpi-web-manager:
image: eblet/byedpi-web-manager:latest
container_name: byedpi-web-manager
restart: unless-stopped
ports:
- "8080:80"
volumes:
# Persistent data directory
- byedpi_data:/app/data
# Optional: Custom configuration
# - ./config.json:/app/config.json:ro
# Optional: Custom hosts files
# - ./hosts:/app/byedpi:ro
environment:
# Optional environment variables
- PHP_MEMORY_LIMIT=128M
- NGINX_WORKER_PROCESSES=auto
# Optional: Resource limits
deploy:
resources:
limits:
memory: 256M
cpus: '0.5'
reservations:
memory: 128M
cpus: '0.25'
# Optional: Health check
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/prepare.php"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
byedpi_data:
driver: local