mirror of
https://github.com/vernu/textbee.git
synced 2026-02-20 07:34:00 -05:00
37 lines
733 B
YAML
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:
|