-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
50 lines (45 loc) · 1.45 KB
/
docker-compose.dev.yml
File metadata and controls
50 lines (45 loc) · 1.45 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
services:
elytra:
build:
context: .
dockerfile: Dockerfile
args:
VERSION: dev
RUSTIC_VERSION: v0.10.0
RUSTIC_TARGET: x86_64-unknown-linux-musl
image: elytra:dev
restart: unless-stopped
tty: true
stdin_open: true
ports:
- "8080:8080"
- "2022:2022"
environment:
# Required: Panel connection and token
ELYTRA_PANEL_LOCATION: "https://panel.example.com"
ELYTRA_TOKEN_ID: "local-token-id"
ELYTRA_TOKEN: "local-token-secret"
# 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"
- "./config.dev.yml:/etc/elytra/config.yml:ro"
networks:
default:
driver: bridge