-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (26 loc) · 906 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (26 loc) · 906 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
services:
necklass:
image: ghcr.io/espresense/necklass:latest
container_name: necklass
restart: unless-stopped
environment:
# Required
GITHUB_WEBHOOK_SECRET: ${GITHUB_WEBHOOK_SECRET}
# Optional: Tailscale Funnel (zero-config public HTTPS)
TAILSCALE_AUTHKEY: ${TAILSCALE_AUTHKEY:-}
TAILSCALE_HOSTNAME: ${TAILSCALE_HOSTNAME:-necklass}
# Optional: server config
PORT: ${PORT:-80}
LOG_LEVEL: ${LOG_LEVEL:-info}
volumes:
# Mount beads repository (READ/WRITE)
# Set BEADS_REPO_PATH in .env to your beads repo location
- ${BEADS_REPO_PATH}:/workspace
# Optional: persist Tailscale state between restarts
- tailscale-state:/var/lib/tailscale
working_dir: /workspace
# Only needed if NOT using Tailscale Funnel
# ports:
# - "80:80"
volumes:
tailscale-state: