2022-01-25 11:25:20 +03:00
|
|
|
services:
|
|
|
|
mongodb:
|
2024-01-30 10:47:54 +03:00
|
|
|
image: 'mongo:7-jammy'
|
2022-01-25 11:25:20 +03:00
|
|
|
command: mongod --port 27018
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
ports:
|
|
|
|
- 27018:27018
|
|
|
|
restart: unless-stopped
|
2024-09-11 11:31:26 +03:00
|
|
|
postgres:
|
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=example
|
2024-11-22 17:14:40 +03:00
|
|
|
- PGUSER=postgres
|
2024-09-11 11:31:26 +03:00
|
|
|
ports:
|
|
|
|
- 5433:5432
|
|
|
|
restart: unless-stopped
|
2024-11-22 17:14:40 +03:00
|
|
|
healthcheck:
|
|
|
|
#CHANGE 1: this command checks if the database is ready, right on the source db server
|
|
|
|
test: [ "CMD-SHELL", "pg_isready" ]
|
|
|
|
interval: 5s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 5
|
2022-01-25 11:25:20 +03:00
|
|
|
minio:
|
|
|
|
image: 'minio/minio'
|
|
|
|
command: server /data --address ":9000" --console-address ":9001"
|
|
|
|
expose:
|
|
|
|
- 9000
|
|
|
|
ports:
|
|
|
|
- 9002:9000
|
|
|
|
elastic:
|
|
|
|
image: 'elasticsearch:7.14.2'
|
|
|
|
expose:
|
|
|
|
- 9200
|
|
|
|
ports:
|
|
|
|
- 9201:9200
|
|
|
|
environment:
|
|
|
|
- ELASTICSEARCH_PORT_NUMBER=9200
|
|
|
|
- BITNAMI_DEBUG=true
|
|
|
|
- discovery.type=single-node
|
|
|
|
- ES_JAVA_OPTS=-Xms1024m -Xmx1024m
|
|
|
|
healthcheck:
|
|
|
|
interval: 20s
|
|
|
|
retries: 10
|
|
|
|
test: curl -s http://localhost:9200/_cluster/health | grep -vq '"status":"red"'
|
|
|
|
account:
|
2022-02-23 19:10:43 +03:00
|
|
|
image: hardcoreeng/account
|
2022-06-03 20:25:28 +03:00
|
|
|
pull_policy: never
|
2022-01-25 11:25:20 +03:00
|
|
|
links:
|
|
|
|
- mongodb
|
|
|
|
- minio
|
2024-10-23 11:29:44 +03:00
|
|
|
- postgres
|
2022-01-25 11:25:20 +03:00
|
|
|
ports:
|
|
|
|
- 3003:3003
|
2024-06-20 16:13:57 +03:00
|
|
|
volumes:
|
|
|
|
- ./branding-test.json:/var/cfg/branding.json
|
2022-01-25 11:25:20 +03:00
|
|
|
environment:
|
|
|
|
- ACCOUNT_PORT=3003
|
2022-02-25 12:04:02 +03:00
|
|
|
- SERVER_SECRET=secret
|
2024-10-01 09:44:49 +03:00
|
|
|
- DB_URL=mongodb://mongodb:27018
|
2024-07-18 21:04:48 +03:00
|
|
|
- TRANSACTOR_URL=ws://transactor:3334;ws://localhost:3334
|
2024-05-17 13:08:30 +03:00
|
|
|
- STORAGE_CONFIG=${STORAGE_CONFIG}
|
2023-04-25 10:34:10 +03:00
|
|
|
- MODEL_ENABLED=*
|
2024-06-20 16:13:57 +03:00
|
|
|
- BRANDING_PATH=/var/cfg/branding.json
|
2024-11-12 20:13:11 +03:00
|
|
|
- STATS_URL=http://stats:4901
|
2024-09-02 19:12:04 +03:00
|
|
|
workspace:
|
|
|
|
image: hardcoreeng/workspace
|
|
|
|
links:
|
|
|
|
- mongodb
|
2024-10-23 11:29:44 +03:00
|
|
|
- postgres
|
2024-09-02 19:12:04 +03:00
|
|
|
- minio
|
|
|
|
volumes:
|
|
|
|
- ./branding-test.json:/var/cfg/branding.json
|
|
|
|
environment:
|
|
|
|
- SERVER_SECRET=secret
|
2024-10-01 09:44:49 +03:00
|
|
|
- DB_URL=mongodb://mongodb:27018
|
2024-09-02 19:12:04 +03:00
|
|
|
- TRANSACTOR_URL=ws://transactor:3334;ws://localhost:3334
|
|
|
|
- STORAGE_CONFIG=${STORAGE_CONFIG}
|
|
|
|
- MODEL_ENABLED=*
|
|
|
|
- ACCOUNTS_URL=http://account:3003
|
|
|
|
- BRANDING_PATH=/var/cfg/branding.json
|
2024-11-12 20:13:11 +03:00
|
|
|
- STATS_URL=http://stats:4901
|
2024-09-02 19:12:04 +03:00
|
|
|
restart: unless-stopped
|
2022-01-25 11:25:20 +03:00
|
|
|
front:
|
2022-02-23 19:10:43 +03:00
|
|
|
image: hardcoreeng/front
|
2022-06-03 20:25:28 +03:00
|
|
|
pull_policy: never
|
2022-01-25 11:25:20 +03:00
|
|
|
links:
|
|
|
|
- account
|
|
|
|
- mongodb
|
|
|
|
- minio
|
|
|
|
- elastic
|
2023-12-12 09:17:22 +03:00
|
|
|
- collaborator
|
2022-01-25 11:25:20 +03:00
|
|
|
- transactor
|
|
|
|
ports:
|
|
|
|
- 8083:8083
|
2024-05-28 17:14:45 +03:00
|
|
|
volumes:
|
|
|
|
- ./branding-test.json:/app/dist/branding-test.json
|
2022-01-25 11:25:20 +03:00
|
|
|
environment:
|
|
|
|
- SERVER_PORT=8083
|
2022-02-25 12:04:02 +03:00
|
|
|
- SERVER_SECRET=secret
|
2022-01-25 11:25:20 +03:00
|
|
|
- ACCOUNTS_URL=http://localhost:3003
|
|
|
|
- UPLOAD_URL=/files
|
|
|
|
- ELASTIC_URL=http://elastic:9200
|
2023-03-15 19:36:50 +03:00
|
|
|
- GMAIL_URL=http://localhost:8088
|
2023-07-14 09:05:19 +03:00
|
|
|
- CALENDAR_URL=http://localhost:8095
|
2024-07-27 18:04:21 +03:00
|
|
|
- REKONI_URL=http://rekoni:4007
|
2023-12-12 09:17:22 +03:00
|
|
|
- TELEGRAM_URL=http://localhost:8086
|
|
|
|
- COLLABORATOR_URL=ws://localhost:3079
|
2024-05-17 13:08:30 +03:00
|
|
|
- STORAGE_CONFIG=${STORAGE_CONFIG}
|
2024-06-21 11:59:02 +03:00
|
|
|
- BRANDING_URL=http://localhost:8083/branding-test.json
|
2024-11-12 20:13:11 +03:00
|
|
|
- STATS_URL=http://stats:4901
|
|
|
|
- STATS_API=http://localhost:4901
|
2022-01-25 11:25:20 +03:00
|
|
|
transactor:
|
2022-02-23 19:10:43 +03:00
|
|
|
image: hardcoreeng/transactor
|
2022-06-03 20:25:28 +03:00
|
|
|
pull_policy: never
|
2022-01-25 11:25:20 +03:00
|
|
|
links:
|
|
|
|
- mongodb
|
|
|
|
- elastic
|
|
|
|
- minio
|
2023-01-04 20:58:54 +03:00
|
|
|
- rekoni
|
2024-10-23 11:29:44 +03:00
|
|
|
- postgres
|
2024-02-02 12:27:27 +03:00
|
|
|
- account
|
2022-01-25 11:25:20 +03:00
|
|
|
ports:
|
|
|
|
- 3334:3334
|
2024-06-20 16:13:57 +03:00
|
|
|
volumes:
|
|
|
|
- ./branding-test.json:/var/cfg/branding.json
|
2022-01-25 11:25:20 +03:00
|
|
|
environment:
|
2024-05-06 12:15:39 +03:00
|
|
|
- SERVER_PROVIDER=${SERVER_PROVIDER}
|
2022-01-25 11:25:20 +03:00
|
|
|
- SERVER_PORT=3334
|
2024-11-11 15:20:10 +03:00
|
|
|
- SERVER_SECRET=secret
|
2024-10-01 09:44:49 +03:00
|
|
|
- DB_URL=mongodb://mongodb:27018
|
2023-10-24 11:53:33 +03:00
|
|
|
- METRICS_CONSOLE=false
|
|
|
|
- METRICS_FILE=metrics.txt
|
2024-05-17 13:08:30 +03:00
|
|
|
- STORAGE_CONFIG=${STORAGE_CONFIG}
|
2023-01-29 18:32:37 +03:00
|
|
|
- FRONT_URL=http://localhost:8083
|
2024-02-02 12:27:27 +03:00
|
|
|
- ACCOUNTS_URL=http://account:3003
|
2024-08-22 14:03:42 +03:00
|
|
|
- COLLABORATOR_URL=http://collaborator:3079
|
2024-02-07 12:22:19 +03:00
|
|
|
- LAST_NAME_FIRST=true
|
2024-06-20 16:13:57 +03:00
|
|
|
- BRANDING_PATH=/var/cfg/branding.json
|
2024-11-11 15:20:10 +03:00
|
|
|
- FULLTEXT_URL=http://fulltext:4710
|
2024-11-12 20:13:11 +03:00
|
|
|
- STATS_URL=http://stats:4901
|
2023-12-12 09:17:22 +03:00
|
|
|
collaborator:
|
|
|
|
image: hardcoreeng/collaborator
|
|
|
|
links:
|
2023-12-25 12:49:08 +03:00
|
|
|
- mongodb
|
2023-12-12 09:17:22 +03:00
|
|
|
- minio
|
|
|
|
- transactor
|
|
|
|
ports:
|
2024-08-22 14:03:42 +03:00
|
|
|
- 3079:3079
|
2023-12-12 09:17:22 +03:00
|
|
|
environment:
|
2024-08-22 14:03:42 +03:00
|
|
|
- COLLABORATOR_PORT=3079
|
2023-12-12 09:17:22 +03:00
|
|
|
- SECRET=secret
|
2024-02-05 11:38:18 +03:00
|
|
|
- ACCOUNTS_URL=http://account:3003
|
2024-05-17 13:08:30 +03:00
|
|
|
- STORAGE_CONFIG=${STORAGE_CONFIG}
|
2024-11-11 15:20:10 +03:00
|
|
|
- FULLTEXT_URL=http://fulltext:4710
|
2024-11-12 20:13:11 +03:00
|
|
|
- STATS_URL=http://stats:4901
|
2023-12-12 09:17:22 +03:00
|
|
|
restart: unless-stopped
|
2023-01-04 20:58:54 +03:00
|
|
|
rekoni:
|
|
|
|
image: hardcoreeng/rekoni-service
|
|
|
|
restart: on-failure
|
|
|
|
ports:
|
2024-07-27 18:04:21 +03:00
|
|
|
- 4007:4004
|
2024-11-12 20:13:11 +03:00
|
|
|
environment:
|
|
|
|
- STATS_URL=http://stats:4901
|
|
|
|
|
2024-11-11 15:20:10 +03:00
|
|
|
fulltext:
|
|
|
|
image: hardcoreeng/fulltext
|
|
|
|
restart: unless-stopped
|
|
|
|
links:
|
|
|
|
- elastic
|
|
|
|
- mongodb
|
|
|
|
- postgres
|
|
|
|
- rekoni
|
|
|
|
ports:
|
|
|
|
- 4710:4710
|
|
|
|
environment:
|
|
|
|
- PORT=4710
|
|
|
|
- SERVER_SECRET=secret
|
|
|
|
- DB_URL=mongodb://mongodb:27018
|
|
|
|
- FULLTEXT_DB_URL=http://elastic:9200
|
|
|
|
- ELASTIC_INDEX_NAME=local_storage_index
|
|
|
|
- STORAGE_CONFIG=${STORAGE_CONFIG}
|
|
|
|
- REKONI_URL=http://rekoni:4007
|
2024-11-12 20:13:11 +03:00
|
|
|
- ACCOUNTS_URL=http://account:3003
|
|
|
|
- STATS_URL=http://stats:4901
|
|
|
|
stats:
|
|
|
|
image: hardcoreeng/stats
|
|
|
|
ports:
|
|
|
|
- 4901:4901
|
|
|
|
environment:
|
|
|
|
- PORT=4901
|
|
|
|
- SERVER_SECRET=secret
|
|
|
|
restart: unless-stopped
|