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.
21 lines
450 B
YAML
21 lines
450 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
# 后台应用
|
|
tailchat-admin:
|
|
build:
|
|
context: ../
|
|
image: tailchat
|
|
restart: unless-stopped
|
|
env_file: docker-compose.env
|
|
depends_on:
|
|
- mongo
|
|
- redis
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.admin.rule=PathPrefix(`/admin`)"
|
|
- "traefik.http.services.admin.loadbalancer.server.port=3000"
|
|
networks:
|
|
- internal
|
|
command: pnpm start:admin
|