appstore-1panel/apps/tailchat/1.9.5/docker-compose.yml

58 lines
1.8 KiB
YAML
Raw Normal View History

2023-07-13 15:34:02 +08:00
version: '3'
services:
tailchat:
container_name: ${CONTAINER_NAME}
restart: unless-stopped
image: moonrailgun/tailchat:1.9.5
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:
- ${PANEL_APP_PORT_HTTP}:11000
labels:
createdBy: "Apps"
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
networks:
1panel-network:
external: true