22 lines
681 B
YAML
22 lines
681 B
YAML
services:
|
|
notification-center:
|
|
image: youyidian-notification-center:${YYD_NOTIFICATION_IMAGE_TAG:-latest}
|
|
build: .
|
|
container_name: youyidian-notification-center
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:${PORT:-3088}:3088"
|
|
environment:
|
|
PORT: 3088
|
|
DATABASE_URL: file:/app/data/notifications.db
|
|
DINGTALK_APP_KEY: ${DINGTALK_APP_KEY}
|
|
DINGTALK_APP_SECRET: ${DINGTALK_APP_SECRET}
|
|
DINGTALK_ROBOT_CODE: ${DINGTALK_ROBOT_CODE}
|
|
YYD_NOTIFICATION_PROJECTS_JSON: ${YYD_NOTIFICATION_PROJECTS_JSON}
|
|
WORKER_ENABLED: ${WORKER_ENABLED:-true}
|
|
volumes:
|
|
- notification_data:/app/data
|
|
|
|
volumes:
|
|
notification_data:
|