-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (55 loc) · 1.32 KB
/
docker-compose.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
services:
postgres:
image: postgres:13.2
restart: unless-stopped
container_name: table_ui_postgres
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRESQL_PASS}
volumes:
- ./postgres_data:/var/lib/postgresql/data
- ./postgresql.conf:/db_config/postgresql.conf
mongo:
image: "mongo:6.0"
container_name: "mantistable_mongo"
env_file:
- ./.env
ports:
- "27020:27017"
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD}
volumes:
- ./mongo-data:/data/db
api:
build:
context: ./plugins
container_name: plugins_api
env_file:
- ./.env
command: uvicorn main:app --host 0.0.0.0 --port 5000
ports:
- "${PLUGINS_PORT}:5000"
restart: unless-stopped
volumes:
- ./plugins/app/:/plugins
depends_on:
- mongo
- postgres
mantistable:
build: .
restart: unless-stopped
container_name: mantistable_next
env_file:
- ./.env
environment:
- SKIP_ENV_VALIDATION=true
- NEXT_TELEMETRY_DISABLED=1
ports:
- "${MANTIS_OUTSIDEPORT}:3000"
depends_on:
- postgres
- mongo
- api