2023-07-13 15:34:02 +08:00
|
|
|
version: '3'
|
2023-05-15 14:54:41 +08:00
|
|
|
services:
|
|
|
|
tailchat:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
restart: unless-stopped
|
2024-03-19 10:39:48 +08:00
|
|
|
image: moonrailgun/tailchat:1.10.1
|
2023-05-15 14:54:41 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
environment:
|
|
|
|
- SERVICEDIR=services,plugins
|
|
|
|
- LOGGER=true
|
|
|
|
- LOGLEVEL=info
|
|
|
|
- PORT=11000
|
2023-12-07 17:21:42 +08:00
|
|
|
- REDIS_URL=redis://:${PANEL_REDIS_ROOT_PASSWORD}@${PANEL_DB_HOST}:6379
|
|
|
|
- TRANSPORTER=redis://:${PANEL_REDIS_ROOT_PASSWORD}@${PANEL_DB_HOST}:6379
|
2023-12-07 18:42:00 +08:00
|
|
|
- MONGO_URL=mongodb://${PANEL_DB_ROOT_USER}:${PANEL_DB_ROOT_PASSWORD}@${MONGO_HOST}:27017/${MONGO_DB}?authSource=admin
|
2023-12-07 17:21:42 +08:00
|
|
|
- MINIO_URL=${MINIO_HOST}:9001
|
2023-12-08 15:30:22 +08:00
|
|
|
- MINIO_USER=${PANEL_MINIO_ROOT_USER}
|
|
|
|
- MINIO_PASS=${PANEL_MINIO_ROOT_PASSWORD}
|
2023-05-15 14:54:41 +08:00
|
|
|
- SMTP_SENDER=${SMTP_SENDER}
|
|
|
|
- SMTP_URI=${SMTP_URI}
|
|
|
|
- SECRET=${SECRET}
|
|
|
|
- API_URL=${API_URL}
|
|
|
|
ports:
|
2023-07-07 17:13:23 +08:00
|
|
|
- ${PANEL_APP_PORT_HTTP}:11000
|
2023-05-15 14:54:41 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
2023-12-07 15:23:48 +08:00
|
|
|
tailchat-admin:
|
|
|
|
container_name: ${CONTAINER_NAME}-admin
|
|
|
|
restart: unless-stopped
|
2024-03-19 10:39:48 +08:00
|
|
|
image: moonrailgun/tailchat:1.10.1
|
2023-12-07 15:23:48 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
environment:
|
|
|
|
- ADMIN_PORT=3000
|
|
|
|
- ADMIN_USER=${ADMIN_USERNAME}
|
|
|
|
- ADMIN_PASS=${ADMIN_PASSWORD}
|
|
|
|
- LOGGER=true
|
|
|
|
- LOGLEVEL=info
|
2023-12-07 17:21:42 +08:00
|
|
|
- REDIS_URL=redis://:${PANEL_REDIS_ROOT_PASSWORD}@${PANEL_DB_HOST}:6379
|
|
|
|
- TRANSPORTER=redis://:${PANEL_REDIS_ROOT_PASSWORD}@${PANEL_DB_HOST}:6379
|
2023-12-07 18:42:00 +08:00
|
|
|
- MONGO_URL=mongodb://${PANEL_DB_ROOT_USER}:${PANEL_DB_ROOT_PASSWORD}@${MONGO_HOST}:27017/${MONGO_DB}?authSource=admin
|
2023-12-07 17:21:42 +08:00
|
|
|
- MINIO_URL=${MINIO_HOST}:9001
|
2023-12-12 17:55:29 +08:00
|
|
|
- MINIO_USER=${PANEL_MINIO_ROOT_USER}
|
|
|
|
- MINIO_PASS=${PANEL_MINIO_ROOT_PASSWORD}
|
2023-12-07 15:23:48 +08:00
|
|
|
- SMTP_SENDER=${SMTP_SENDER}
|
|
|
|
- SMTP_URI=${SMTP_URI}
|
|
|
|
- SECRET=${SECRET}
|
|
|
|
- API_URL=${API_URL}
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_ADMIN}:3000
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
command: pnpm start:admin
|
2023-05-15 14:54:41 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|