2021-12-23 06:36:34 +03:00
|
|
|
version: "3"
|
2021-11-22 14:17:10 +03:00
|
|
|
services:
|
|
|
|
mongodb:
|
|
|
|
image: mongo
|
|
|
|
container_name: mongodb
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
volumes:
|
|
|
|
- db:/data/db
|
|
|
|
ports:
|
2022-01-11 12:11:14 +03:00
|
|
|
- 27017:27017
|
2021-11-22 14:17:10 +03:00
|
|
|
restart: unless-stopped
|
|
|
|
minio:
|
|
|
|
image: 'minio/minio'
|
|
|
|
command: server /data --address ":9000" --console-address ":9001"
|
|
|
|
ports:
|
|
|
|
- 9000:9000
|
2022-01-20 12:27:41 +03:00
|
|
|
- 9001:9001
|
2021-11-22 14:17:10 +03:00
|
|
|
volumes:
|
|
|
|
- files:/data
|
2023-01-24 16:42:47 +03:00
|
|
|
restart: unless-stopped
|
2021-11-22 14:17:10 +03:00
|
|
|
elastic:
|
2021-12-15 12:04:43 +03:00
|
|
|
image: 'elasticsearch:7.14.2'
|
2021-11-22 14:17:10 +03:00
|
|
|
command: |
|
|
|
|
/bin/sh -c "./bin/elasticsearch-plugin list | grep -q ingest-attachment || yes | ./bin/elasticsearch-plugin install --silent ingest-attachment;
|
|
|
|
/usr/local/bin/docker-entrypoint.sh eswrapper"
|
|
|
|
volumes:
|
|
|
|
- elastic:/usr/share/elasticsearch/data
|
|
|
|
ports:
|
2022-01-11 12:11:14 +03:00
|
|
|
- 9200:9200
|
2021-11-22 14:17:10 +03:00
|
|
|
environment:
|
|
|
|
- ELASTICSEARCH_PORT_NUMBER=9200
|
|
|
|
- BITNAMI_DEBUG=true
|
|
|
|
- discovery.type=single-node
|
2021-12-30 12:04:32 +03:00
|
|
|
- ES_JAVA_OPTS=-Xms1024m -Xmx1024m
|
|
|
|
- http.cors.enabled=true
|
|
|
|
- http.cors.allow-origin=http://localhost:8082
|
2021-12-22 12:02:51 +03:00
|
|
|
healthcheck:
|
|
|
|
interval: 20s
|
|
|
|
retries: 10
|
|
|
|
test: curl -s http://localhost:9200/_cluster/health | grep -vq '"status":"red"'
|
2023-01-24 16:42:47 +03:00
|
|
|
restart: unless-stopped
|
2021-11-22 14:17:10 +03:00
|
|
|
account:
|
2022-02-23 19:10:43 +03:00
|
|
|
image: hardcoreeng/account
|
2021-11-22 14:17:10 +03:00
|
|
|
links:
|
|
|
|
- mongodb
|
2022-01-11 16:35:21 +03:00
|
|
|
- minio
|
|
|
|
- transactor
|
2021-11-22 14:17:10 +03:00
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
environment:
|
2022-02-25 12:04:02 +03:00
|
|
|
- SERVER_PORT=3000
|
|
|
|
- SERVER_SECRET=secret
|
2021-11-22 14:17:10 +03:00
|
|
|
- MONGO_URL=mongodb://mongodb:27017
|
2022-01-12 12:03:12 +03:00
|
|
|
- TRANSACTOR_URL=ws://transactor:3333
|
|
|
|
- ENDPOINT_URL=ws://localhost:3333
|
2022-01-11 12:23:17 +03:00
|
|
|
- MINIO_ENDPOINT=minio
|
|
|
|
- MINIO_ACCESS_KEY=minioadmin
|
|
|
|
- MINIO_SECRET_KEY=minioadmin
|
2023-02-09 19:50:30 +03:00
|
|
|
- FRONT_URL=http://front:8080
|
2023-01-31 12:10:44 +03:00
|
|
|
- SES_URL=http://localhost:8091
|
2023-04-25 10:34:10 +03:00
|
|
|
- MODEL_ENABLED=*
|
2023-01-24 16:42:47 +03:00
|
|
|
restart: unless-stopped
|
2022-11-02 11:50:14 +03:00
|
|
|
collaborator:
|
|
|
|
image: hardcoreeng/collaborator
|
|
|
|
links:
|
|
|
|
- transactor
|
|
|
|
ports:
|
|
|
|
- 3078:3078
|
|
|
|
environment:
|
|
|
|
- COLLABORATOR_PORT=3078
|
|
|
|
- SECRET=secret
|
|
|
|
- MINIO_ENDPOINT=minio
|
|
|
|
- MINIO_ACCESS_KEY=minioadmin
|
|
|
|
- MINIO_SECRET_KEY=minioadmin
|
2023-01-24 16:42:47 +03:00
|
|
|
restart: unless-stopped
|
2021-11-22 14:17:10 +03:00
|
|
|
front:
|
2022-02-23 19:10:43 +03:00
|
|
|
image: hardcoreeng/front
|
2021-11-22 14:17:10 +03:00
|
|
|
links:
|
|
|
|
- mongodb
|
|
|
|
- minio
|
|
|
|
- elastic
|
2021-12-07 21:45:11 +03:00
|
|
|
- transactor
|
2021-11-22 14:17:10 +03:00
|
|
|
ports:
|
2022-09-09 06:44:33 +03:00
|
|
|
- 8087:8080
|
2021-11-22 14:17:10 +03:00
|
|
|
environment:
|
2022-02-25 12:04:02 +03:00
|
|
|
- SERVER_PORT=8080
|
|
|
|
- SERVER_SECRET=secret
|
2021-11-22 14:17:10 +03:00
|
|
|
- ACCOUNTS_URL=http://localhost:3000
|
2023-02-09 19:50:30 +03:00
|
|
|
- REKONI_URL=http://localhost:4004
|
2022-11-02 11:50:14 +03:00
|
|
|
- COLLABORATOR_URL=ws://localhost:3078
|
2023-03-15 19:36:50 +03:00
|
|
|
- GMAIL_URL=http://localhost:8088
|
|
|
|
- TELEGRAM_URL=http://localhost:8086
|
2021-11-22 14:17:10 +03:00
|
|
|
- UPLOAD_URL=/files
|
|
|
|
- TRANSACTOR_URL=ws://localhost:3333
|
|
|
|
- ELASTIC_URL=http://elastic:9200
|
|
|
|
- MINIO_ENDPOINT=minio
|
|
|
|
- MINIO_ACCESS_KEY=minioadmin
|
2022-01-20 12:27:41 +03:00
|
|
|
- MINIO_SECRET_KEY=minioadmin
|
2023-01-24 16:42:47 +03:00
|
|
|
restart: unless-stopped
|
2022-06-16 06:36:45 +03:00
|
|
|
# tracker-front:
|
|
|
|
# image: hardcoreeng/tracker-front
|
|
|
|
# links:
|
|
|
|
# - mongodb
|
|
|
|
# - minio
|
|
|
|
# - elastic
|
|
|
|
# - transactor
|
|
|
|
# ports:
|
|
|
|
# - 8084:8080
|
|
|
|
# environment:
|
|
|
|
# - SERVER_PORT=8080
|
|
|
|
# - SERVER_SECRET=secret
|
|
|
|
# - ACCOUNTS_URL=http://localhost:3000
|
|
|
|
# - FRONT_URL=http://localhost:8084
|
|
|
|
# - UPLOAD_URL=/files
|
|
|
|
# - TRANSACTOR_URL=ws://localhost:3333
|
|
|
|
# - ELASTIC_URL=http://elastic:9200
|
|
|
|
# - MINIO_ENDPOINT=minio
|
|
|
|
# - MINIO_ACCESS_KEY=minioadmin
|
|
|
|
# - MINIO_SECRET_KEY=minioadmin
|
2021-11-22 14:17:10 +03:00
|
|
|
transactor:
|
2022-02-23 19:10:43 +03:00
|
|
|
image: hardcoreeng/transactor
|
2021-11-22 14:17:10 +03:00
|
|
|
links:
|
|
|
|
- mongodb
|
|
|
|
- elastic
|
2022-01-20 12:27:41 +03:00
|
|
|
- minio
|
2023-01-04 20:58:54 +03:00
|
|
|
- rekoni
|
2022-03-18 09:37:49 +03:00
|
|
|
# - apm-server
|
2021-11-22 14:17:10 +03:00
|
|
|
ports:
|
2022-01-11 12:11:14 +03:00
|
|
|
- 3333:3333
|
2021-11-22 14:17:10 +03:00
|
|
|
environment:
|
2022-02-25 12:04:02 +03:00
|
|
|
- SERVER_PORT=3333
|
|
|
|
- SERVER_SECRET=secret
|
2021-11-22 14:17:10 +03:00
|
|
|
- ELASTIC_URL=http://elastic:9200
|
|
|
|
- MONGO_URL=mongodb://mongodb:27017
|
2021-12-22 12:02:51 +03:00
|
|
|
- METRICS_CONSOLE=true
|
2022-01-20 12:27:41 +03:00
|
|
|
- MINIO_ENDPOINT=minio
|
|
|
|
- MINIO_ACCESS_KEY=minioadmin
|
2023-01-04 20:58:54 +03:00
|
|
|
- MINIO_SECRET_KEY=minioadmin
|
|
|
|
- REKONI_URL=http://rekoni:4004
|
2023-01-29 18:32:37 +03:00
|
|
|
- FRONT_URL=http://localhost:8087
|
2022-03-18 09:37:49 +03:00
|
|
|
# - APM_SERVER_URL=http://apm-server:8200
|
2023-05-03 17:09:48 +03:00
|
|
|
- SERVER_PROVIDER=ws
|
2023-01-24 16:42:47 +03:00
|
|
|
restart: unless-stopped
|
2023-01-04 20:58:54 +03:00
|
|
|
rekoni:
|
|
|
|
image: hardcoreeng/rekoni-service
|
|
|
|
ports:
|
|
|
|
- 4004:4004
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
2023-01-24 16:42:47 +03:00
|
|
|
memory: 500M
|
|
|
|
restart: unless-stopped
|
|
|
|
# etcd:
|
|
|
|
# container_name: milvus-etcd
|
|
|
|
# image: quay.io/coreos/etcd:v3.5.0
|
2022-03-18 09:37:49 +03:00
|
|
|
# environment:
|
2023-01-24 16:42:47 +03:00
|
|
|
# - ETCD_AUTO_COMPACTION_MODE=revision
|
|
|
|
# - ETCD_AUTO_COMPACTION_RETENTION=1000
|
|
|
|
# - ETCD_QUOTA_BACKEND_BYTES=4294967296
|
|
|
|
# - ETCD_SNAPSHOT_COUNT=50000
|
|
|
|
# volumes:
|
|
|
|
# - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
|
|
|
|
# command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
|
|
|
|
# restart: unless-stopped
|
2021-11-22 14:17:10 +03:00
|
|
|
volumes:
|
|
|
|
db:
|
|
|
|
files:
|
|
|
|
elastic:
|
2023-01-24 16:42:47 +03:00
|
|
|
etcd:
|