-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathseatable-ai.yml
More file actions
37 lines (36 loc) · 1.31 KB
/
seatable-ai.yml
File metadata and controls
37 lines (36 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
services:
seatable-ai:
image: ${SEATABLE_AI_IMAGE:-seatable/seatable-ai:6.2.0}
restart: unless-stopped
container_name: seatable-ai
volumes:
- ${SEATABLE_VOLUME:-/opt/seatable-server/}:/shared
environment:
- TIME_ZONE=${TIME_ZONE}
- SEATABLE_MYSQL_DB_HOST=${MARIADB_HOST:-mariadb}
- SEATABLE_MYSQL_DB_PORT=${MARIADB_PORT:-3306}
- SEATABLE_MYSQL_DB_USER=root
- SEATABLE_MYSQL_DB_PASSWORD=${MARIADB_PASSWORD:?Variable is not set or empty}
- SEATABLE_MYSQL_DB_DTABLE_DB_NAME=dtable_db
- REDIS_HOST=${REDIS_HOST:-redis}
- REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_PASSWORD=${REDIS_PASSWORD:?Variable is not set or empty}
- JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty}
- SEATABLE_SERVER_URL=${SEATABLE_SERVER_URL:-http://seatable-server}
- INNER_DTABLE_SERVER_URL=${INNER_DTABLE_SERVER_URL:-http://seatable-server:5000}
- INNER_DTABLE_DB_URL=${INNER_DTABLE_DB_URL:-http://seatable-server:7777}
depends_on:
- mariadb
- redis
networks:
- backend-seatable-net
healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost:8888 || exit 1"]
interval: 20s
retries: 3
start_period: 30s
timeout: 10s
networks:
backend-seatable-net:
name: backend-seatable-net