Files
rosterchirp/docker-compose.yaml
2026-03-06 11:49:48 -05:00

32 lines
836 B
YAML

version: '3.8'
services:
teamchat:
image: teamchat:${TEAMCHAT_VERSION:-latest}
container_name: teamchat
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
environment:
- NODE_ENV=production
- ADMIN_NAME=${ADMIN_NAME:-Admin User}
- ADMIN_EMAIL=${ADMIN_EMAIL:-admin@teamchat.local}
- ADMIN_PASS=${ADMIN_PASS:-Admin@1234}
- PW_RESET=${PW_RESET:-false}
- JWT_SECRET=${JWT_SECRET:-changeme_super_secret_jwt_key_2024}
- APP_NAME=${APP_NAME:-TeamChat}
volumes:
- teamchat_db:/app/data
- teamchat_uploads:/app/uploads
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/api/health"]
interval: 30s
timeout: 10s
retries: 3
volumes:
teamchat_db:
driver: local
teamchat_uploads:
driver: local