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
|
2023-11-21 18:51:27 +08:00
|
|
|
image: moonrailgun/tailchat:1.9.5
|
2023-05-15 14:54:41 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
environment:
|
|
|
|
- SERVICEDIR=services,plugins
|
|
|
|
- LOGGER=true
|
|
|
|
- LOGLEVEL=info
|
|
|
|
- PORT=11000
|
|
|
|
- REDIS_URL=redis://:${REDIS_PASS}@${REDIS_HOST}:${REDIS_PORT}
|
|
|
|
- TRANSPORTER=redis://:${REDIS_PASS}@${REDIS_HOST}:${REDIS_PORT}
|
|
|
|
- MONGO_URL=mongodb://${MONGO_USER}:${MONGO_PASS}@${MONGO_HOST}:${MONGO_PORT}/${MONGO_DB}?authSource=admin
|
|
|
|
- MINIO_URL=${MINIO_HOST}:${MINIO_PORT}
|
|
|
|
- MINIO_USER=${MINIO_USER}
|
|
|
|
- MINIO_PASS=${MINIO_PASS}
|
|
|
|
- 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
|
|
|
|
image: moonrailgun/tailchat:1.9.4
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
environment:
|
|
|
|
- ADMIN_PORT=3000
|
|
|
|
- ADMIN_USER=${ADMIN_USERNAME}
|
|
|
|
- ADMIN_PASS=${ADMIN_PASSWORD}
|
|
|
|
- LOGGER=true
|
|
|
|
- LOGLEVEL=info
|
|
|
|
- REDIS_URL=redis://:${REDIS_PASS}@${REDIS_HOST}:${REDIS_PORT}
|
|
|
|
- TRANSPORTER=redis://:${REDIS_PASS}@${REDIS_HOST}:${REDIS_PORT}
|
|
|
|
- MONGO_URL=mongodb://${MONGO_USER}:${MONGO_PASS}@${MONGO_HOST}:${MONGO_PORT}/${MONGO_DB}?authSource=admin
|
|
|
|
- MINIO_URL=${MINIO_HOST}:${MINIO_PORT}
|
|
|
|
- MINIO_USER=${MINIO_USER}
|
|
|
|
- MINIO_PASS=${MINIO_PASS}
|
|
|
|
- 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
|