2022-01-25 11:25:20 +03:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
mongodb:
|
|
|
|
image: mongo
|
|
|
|
command: mongod --port 27018
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
ports:
|
|
|
|
- 27018:27018
|
|
|
|
restart: unless-stopped
|
|
|
|
minio:
|
|
|
|
image: 'minio/minio'
|
|
|
|
command: server /data --address ":9000" --console-address ":9001"
|
|
|
|
expose:
|
|
|
|
- 9000
|
|
|
|
ports:
|
|
|
|
- 9002:9000
|
|
|
|
elastic:
|
|
|
|
image: 'elasticsearch:7.14.2'
|
|
|
|
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"
|
|
|
|
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
|
|
|
|
- transactor
|
|
|
|
ports:
|
|
|
|
- 3003:3003
|
|
|
|
environment:
|
|
|
|
- ACCOUNT_PORT=3003
|
2022-02-25 12:04:02 +03:00
|
|
|
- SERVER_SECRET=secret
|
2022-01-25 11:25:20 +03:00
|
|
|
- MONGO_URL=mongodb://mongodb:27018
|
|
|
|
- TRANSACTOR_URL=ws://transactor:3334
|
|
|
|
- ENDPOINT_URL=ws://localhost:3334
|
|
|
|
- MINIO_ENDPOINT=minio
|
|
|
|
- MINIO_ACCESS_KEY=minioadmin
|
|
|
|
- MINIO_SECRET_KEY=minioadmin
|
|
|
|
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
|
|
|
|
- transactor
|
|
|
|
ports:
|
|
|
|
- 8083:8083
|
|
|
|
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
|
|
|
|
- TRANSACTOR_URL=ws://localhost:3334
|
|
|
|
- ELASTIC_URL=http://elastic:9200
|
|
|
|
- MINIO_ENDPOINT=minio
|
|
|
|
- MINIO_ACCESS_KEY=minioadmin
|
|
|
|
- MINIO_SECRET_KEY=minioadmin
|
|
|
|
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
|
|
|
|
ports:
|
|
|
|
- 3334:3334
|
|
|
|
environment:
|
|
|
|
- SERVER_PORT=3334
|
2022-02-25 12:04:02 +03:00
|
|
|
- SERVER_SECRET=secret
|
2022-01-25 11:25:20 +03:00
|
|
|
- ELASTIC_URL=http://elastic:9200
|
|
|
|
- MONGO_URL=mongodb://mongodb:27018
|
|
|
|
- METRICS_CONSOLE=true
|
|
|
|
- MINIO_ENDPOINT=minio
|
|
|
|
- MINIO_ACCESS_KEY=minioadmin
|
|
|
|
- MINIO_SECRET_KEY=minioadmin
|