Files
TokenWatch/docker-compose.yml
T
2026-08-28 15:14:38 +02:00

35 lines
883 B
YAML

version: '3.8'
services:
tokenwatch:
build: .
restart: unless-stopped
ports:
- "3000:3000"
environment:
- PORT=3000
- DB_USER=${DB_USER:-postgres}
- DB_HOST=postgres
- DB_NAME=${DB_NAME:-tokenwatch}
- DB_PASSWORD=${DB_PASSWORD:-your_db_password}
- NTFY_URL=${NTFY_URL:-https://ntfy.orfel.de/Token-Watch}
- ANTIGRAVITY_API_KEY=${ANTIGRAVITY_API_KEY}
- ANTIGRAVITY_ENDPOINT=${ANTIGRAVITY_ENDPOINT}
- POE_API_KEY=${POE_API_KEY}
- MINIMAX_API_KEY=${MINIMAX_API_KEY}
depends_on:
- postgres
postgres:
image: postgres:15-alpine
restart: unless-stopped
environment:
POSTGRES_USER: ${DB_USER:-postgres}
POSTGRES_PASSWORD: ${DB_PASSWORD:-your_db_password}
POSTGRES_DB: ${DB_NAME:-tokenwatch}
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: