mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
454 B
YAML
27 lines
454 B
YAML
|
3 years ago
|
version: "3.3"
|
||
|
|
|
||
|
|
services:
|
||
|
|
# 后台应用
|
||
|
|
tailchat-admin:
|
||
|
|
image: tailchat
|
||
|
|
restart: unless-stopped
|
||
|
|
env_file: ../../../docker-compose.env
|
||
|
|
environment:
|
||
|
|
ADMIN_PASS: tailchat
|
||
|
|
depends_on:
|
||
|
|
- mongo
|
||
|
|
- redis
|
||
|
|
ports:
|
||
|
|
- 13000:3000
|
||
|
|
command: pnpm start:admin
|
||
|
|
|
||
|
|
# Database
|
||
|
|
mongo:
|
||
|
|
image: mongo:4
|
||
|
|
restart: on-failure
|
||
|
|
|
||
|
|
# Data cache and Transporter
|
||
|
|
redis:
|
||
|
|
image: redis:alpine
|
||
|
|
restart: on-failure
|