Files
vps-tracker/docker-compose.yml
T
2026-07-18 13:49:36 +07:00

30 lines
851 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# VPS Tracker: образ с GHCR + SQLite в ./data на хосте
services:
app:
image: ghcr.io/denozordec/vps-tracker:latest
pull_policy: always
ports:
- "3001:3001"
environment:
PORT: "3001"
RUNTIME: "fastify"
AUTH_REQUIRED: ${AUTH_REQUIRED:-false}
AUTH_JWT_SECRET: ${AUTH_JWT_SECRET:-dev-secret-change-me}
AUTH_ISSUER: ${AUTH_ISSUER:-https://auth.shnt.top}
AUTH_PORTAL_URL: ${AUTH_PORTAL_URL:-http://localhost:8080}
volumes:
- ./data:/app/data
# Раскомментируйте для локальной сборки вместо pull образа:
# app-build:
# build:
# context: .
# dockerfile: Dockerfile
# ports:
# - "3001:3001"
# environment:
# PORT: "3001"
# RUNTIME: "express"
# volumes:
# - ./data:/app/data