Container listens on 8999 and docker-compose maps 8999:8999. README and TEST.md examples updated to http://localhost:8999. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
services:
|
|
coremarket:
|
|
build: .
|
|
image: coremarket:latest
|
|
ports:
|
|
- "8999:8999"
|
|
environment:
|
|
LIVE_PRICING: "1" # 0 = use bundled catalog only
|
|
LIVE_REFRESH_HOURS: "24"
|
|
EUR_USD: "1.16"
|
|
# Optional tokens for providers whose price APIs need auth (read-only tokens are enough):
|
|
DIGITALOCEAN_TOKEN: ${DIGITALOCEAN_TOKEN:-}
|
|
HCLOUD_TOKEN: ${HCLOUD_TOKEN:-}
|
|
GLOBALPING_TOKEN: ${GLOBALPING_TOKEN:-}
|
|
# First run only: creates the admin account (the app will not start without them until an account exists).
|
|
ADMIN_USERNAME: ${ADMIN_USERNAME:-}
|
|
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-}
|
|
SESSION_HOURS: ${SESSION_HOURS:-12} # how long a browser sign-in lasts
|
|
COOKIE_SECURE: ${COOKIE_SECURE:-0} # set to 1 when served over HTTPS
|
|
# Comma-separated browser origins allowed to call the API cross-site (CORS), e.g. https://example.com
|
|
CORS_ORIGINS: ${CORS_ORIGINS:-}
|
|
volumes:
|
|
- coremarket-data:/data
|
|
restart: unless-stopped
|
|
volumes:
|
|
coremarket-data:
|