24 lines
815 B
YAML
24 lines
815 B
YAML
services:
|
|
indexipro:
|
|
build: .
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
# Set INDEXIPRO_PORT=127.0.0.1:8095 in .env to only listen locally behind a reverse proxy.
|
|
- "${INDEXIPRO_PORT:-8080}:8080"
|
|
volumes:
|
|
- ./data:/data
|
|
|
|
# Optional: a public https address without opening ports (needed for Claude.ai / ChatGPT).
|
|
# Create a tunnel at https://one.dash.cloudflare.com → Networks → Tunnels, point its public
|
|
# hostname at http://indexipro:8080, put the token in .env and run:
|
|
# docker compose --profile tunnel up -d
|
|
cloudflared:
|
|
image: cloudflare/cloudflared:2024.12.2
|
|
profiles: ["tunnel"]
|
|
restart: unless-stopped
|
|
command: tunnel --no-autoupdate run
|
|
environment:
|
|
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
|
|
depends_on: [indexipro]
|