-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (29 loc) · 1.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (29 loc) · 1.13 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
services:
spacebee:
# Defaults to the public GHCR image. Override with `IMAGE=...` if you
# forked and pushed to your own registry, or want to pin to a commit
# sha tag: `IMAGE=ghcr.io/oakbrad/spacebee:<sha> docker compose up -d`.
image: ${IMAGE:-ghcr.io/oakbrad/spacebee:latest}
container_name: spacebee
restart: unless-stopped
ports:
# Bind to loopback only — spacebee speaks plaintext Basic auth over
# WebDAV; put an HTTPS reverse proxy in front. If you're running the
# proxy on another host, change this to "8080:8080" and make sure
# the proxy is the only thing reachable from outside.
- "127.0.0.1:8080:8080"
volumes:
- ./data:/data
environment:
PDS: ${PDS}
BSKY_HANDLE: ${BSKY_HANDLE}
BSKY_APP_PASSWORD: ${BSKY_APP_PASSWORD}
DAV_USER: ${DAV_USER}
DAV_PASSWORD: ${DAV_PASSWORD}
PASSTHROUGH_ROOT: /data/passthrough
LOG_LEVEL: ${LOG_LEVEL:-INFO}
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/healthz')"]
interval: 30s
timeout: 5s
retries: 3