Files
textbee/docker-compose.yaml
2024-12-28 10:32:34 +03:00

37 lines
733 B
YAML

services:
textbee-web:
image: ghcr.io/vernu/textbee/web:latest
container_name: textbee-web
build:
context: ./web
dockerfile: Dockerfile
ports:
- "3000:3000"
env_file:
- path: ./web/.env
required: true
command: pnpm start
textbee-api:
image: ghcr.io/vernu/textbee/api:latest
container_name: textbee-api
build:
context: ./api
dockerfile: Dockerfile
ports:
- "3005:3005"
env_file:
- path: ./api/.env
required: true
depends_on:
- textbee-db
textbee-db:
image: mongo
container_name: textbee-db
volumes:
- textbee-db-data:/data/db
ports:
- "27017:27017"
volumes:
textbee-db-data: