-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
42 lines (37 loc) · 1.25 KB
/
docker-compose.example.yml
File metadata and controls
42 lines (37 loc) · 1.25 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
version: '3.8'
services:
elytra:
image: ghcr.io/pyrohost/elytra:latest
restart: unless-stopped
tty: true
ports:
- "8080:8080"
- "2022:2022"
environment:
# Required: Panel connection and token
ELYTRA_PANEL_LOCATION: "https://panel.example.com"
ELYTRA_TOKEN_ID: "panel-token-id"
ELYTRA_TOKEN: "panel-token-value"
# Optional overrides / useful defaults
TZ: "UTC"
ELYTRA_DEBUG: "true"
ELYTRA_API_HOST: "0.0.0.0"
ELYTRA_API_PORT: "8080"
ELYTRA_UID: "988"
ELYTRA_GID: "988"
# System path overrides (inside container)
ELYTRA_SYSTEM_ROOT_DIRECTORY: "/var/lib/elytra"
ELYTRA_SYSTEM_DATA: "/var/lib/elytra/volumes"
ELYTRA_SYSTEM_LOG_DIRECTORY: "/var/log/elytra"
# Docker integration (required for managing containers)
ELYTRA_DOCKER_TMPFS_SIZE: "100"
# Disable rustic backups in container mode unless you have the 'rustic' binary available
ELYTRA_SYSTEM_BACKUPS_RUSTIC_LOCAL_ENABLED: "false"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "/var/lib/docker/containers/:/var/lib/docker/containers/:ro"
- "./data:/var/lib/elytra"
- "./logs:/var/log/elytra"
networks:
default:
driver: bridge