-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 1.78 KB
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (42 loc) · 1.78 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
# Arc Launchpad — self-hosted UI for Arc.
#
# Quick start:
# LAUNCHPAD_JWT_SECRET=$(openssl rand -hex 32) docker compose up -d
#
# Then open http://localhost:3000 — the first account you create becomes the
# admin. Persisted state (accounts, teams, connection records) lives in the
# named volume `launchpad-data`.
services:
launchpad:
image: ghcr.io/basekick-labs/launchpad:latest
container_name: launchpad
restart: unless-stopped
ports:
- "3000:3000"
environment:
# REQUIRED — signs session tokens. Generate with: openssl rand -hex 32
- LAUNCHPAD_JWT_SECRET=${LAUNCHPAD_JWT_SECRET:?set LAUNCHPAD_JWT_SECRET, e.g. export LAUNCHPAD_JWT_SECRET=$(openssl rand -hex 32)}
# Public URL of this deployment (used for email links + passkey origin).
- LAUNCHPAD_BASE_URL=${LAUNCHPAD_BASE_URL:-http://localhost:3000}
- LAUNCHPAD_DB_PATH=/app/data/launchpad.db
# Allow registering Arc instances on private/localhost addresses (e.g. an
# Arc container on the same Docker network, or a host-side Arc). Off by
# default as an SSRF safeguard. From inside this container, reach a
# host-side Arc via host.docker.internal, not localhost.
# - LAUNCHPAD_ALLOW_PRIVATE_ENDPOINTS=true
# Optional integrations — uncomment and set to enable.
# - MAILGUN_API_KEY=
# - MAILGUN_DOMAIN=
# - EMAIL_FROM=Arc Launchpad <noreply@example.com>
# - PUBLIC_TURNSTILE_SITE_KEY=
# - TURNSTILE_SECRET_KEY=
volumes:
- launchpad-data:/app/data
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://127.0.0.1:3000/',r=>process.exit(r.statusCode<500?0:1)).on('error',()=>process.exit(1))"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
volumes:
launchpad-data: