Compare commits

5 Commits

Author SHA1 Message Date
090b437186 Merge pull request 'fix' (#145) from master into dev
Reviewed-on: #145
2025-09-15 01:39:53 +03:00
Egor Matveev
f6371f8813 fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 11s
Deploy Dev / Push (pull_request) Successful in 15s
Deploy Dev / prepare (pull_request) Successful in 4s
Deploy Dev / Deploy dev (pull_request) Successful in 22s
2025-09-15 01:39:13 +03:00
62e301ec5b Merge pull request 'master' (#143) from master into dev
Reviewed-on: #143
2025-09-15 00:12:28 +03:00
Egor Matveev
1af2cfa4e2 fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 9s
Deploy Dev / Push (pull_request) Successful in 11s
Deploy Dev / prepare (pull_request) Successful in 16s
Deploy Dev / Deploy dev (pull_request) Successful in 19s
Deploy Prod / Build (pull_request) Successful in 14s
Deploy Prod / Push (pull_request) Successful in 12s
Deploy Prod / prepare (pull_request) Successful in 8s
Deploy Prod / Deploy prod (pull_request) Successful in 26s
2025-09-15 00:12:03 +03:00
Egor Matveev
975ae0cedc fix
All checks were successful
Deploy Prod / Build (pull_request) Successful in 21s
Deploy Prod / Push (pull_request) Successful in 11s
Deploy Prod / prepare (pull_request) Successful in 9s
Deploy Prod / Deploy prod (pull_request) Successful in 30s
2025-09-15 00:06:34 +03:00
5 changed files with 35 additions and 27 deletions

View File

@@ -7,6 +7,7 @@ services:
networks: networks:
- common-infra-nginx-development - common-infra-nginx-development
- configurator - configurator
- minio-development
environment: environment:
MINIO_SECRET_KEY: $MINIO_SECRET_KEY_DEV MINIO_SECRET_KEY: $MINIO_SECRET_KEY_DEV
ports: ports:
@@ -48,6 +49,8 @@ services:
postgres: postgres:
image: postgres:14-alpine3.19 image: postgres:14-alpine3.19
networks:
- postgres-development
volumes: volumes:
- /sprint-data/postgres-data:/var/lib/postgresql/data - /sprint-data/postgres-data:/var/lib/postgresql/data
environment: environment:
@@ -74,6 +77,8 @@ services:
mongo: mongo:
image: mongo:6.0.2 image: mongo:6.0.2
networks:
- mongo-development
volumes: volumes:
- /sprint-data/mongo:/data/db - /sprint-data/mongo:/data/db
environment: environment:
@@ -93,29 +98,6 @@ services:
parallelism: 1 parallelism: 1
order: start-first order: start-first
rabbitmq:
image: rabbitmq:3.10.7-management
volumes:
- /sprint-data/rabbitmq:/var/lib/rabbitmq
ports:
- published: 5672
target: 5672
mode: host
- published: 15672
target: 15672
mode: host
environment:
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_DEV
deploy:
mode: replicated
restart_policy:
condition: any
placement:
constraints: [node.labels.stage == development]
update_config:
parallelism: 1
order: start-first
redis: redis:
image: redis:alpine3.16 image: redis:alpine3.16
volumes: volumes:
@@ -137,6 +119,8 @@ services:
minio: minio:
image: bitnami/minio:2022.10.8 image: bitnami/minio:2022.10.8
networks:
- minio-development
volumes: volumes:
- minio_data:/data - minio_data:/data
environment: environment:
@@ -190,3 +174,9 @@ networks:
external: true external: true
clickhouse-development: clickhouse-development:
external: true external: true
postgres-development:
external: true
mongo-development:
external: true
minio-development:
external: true

View File

@@ -7,6 +7,7 @@ services:
networks: networks:
- common-infra-nginx - common-infra-nginx
- configurator - configurator
- minio
environment: environment:
MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD
ports: ports:
@@ -77,6 +78,8 @@ services:
postgres: postgres:
image: postgres:14-alpine3.19 image: postgres:14-alpine3.19
networks:
- postgres
volumes: volumes:
- /sprint-data/postgres-data:/var/lib/postgresql/data - /sprint-data/postgres-data:/var/lib/postgresql/data
environment: environment:
@@ -108,6 +111,8 @@ services:
mongo: mongo:
image: mongo:6.0.2 image: mongo:6.0.2
networks:
- mongo
volumes: volumes:
- /sprint-data/mongo:/data/db - /sprint-data/mongo:/data/db
environment: environment:
@@ -148,6 +153,8 @@ services:
minio: minio:
image: bitnami/minio:2022.10.8 image: bitnami/minio:2022.10.8
networks:
- minio
volumes: volumes:
- minio_data:/data - minio_data:/data
environment: environment:
@@ -232,3 +239,9 @@ networks:
external: true external: true
clickhouse: clickhouse:
external: true external: true
postgres:
external: true
mongo:
external: true
minio:
external: true

View File

@@ -6,7 +6,7 @@ from json import loads
minio_client = Minio( minio_client = Minio(
"minio.dev.chocomarsh.com:9000", "minio:9000",
access_key="serviceminioadmin", access_key="serviceminioadmin",
secret_key=os.getenv("MINIO_SECRET_KEY", "minioadmin"), secret_key=os.getenv("MINIO_SECRET_KEY", "minioadmin"),
secure=False, secure=False,

View File

@@ -6,7 +6,7 @@ from json import loads
minio_client = Minio( minio_client = Minio(
"minio.chocomarsh.com:9000", "minio:9000",
access_key="serviceminioadmin", access_key="serviceminioadmin",
secret_key=os.getenv("MINIO_SECRET_KEY", "minioadmin"), secret_key=os.getenv("MINIO_SECRET_KEY", "minioadmin"),
secure=False, secure=False,

View File

@@ -8,10 +8,15 @@ docker network create -d overlay --attachable configurator || true
docker network create -d overlay --attachable monitoring || true docker network create -d overlay --attachable monitoring || true
docker network create -d overlay --attachable configurator-development || true docker network create -d overlay --attachable configurator-development || true
docker network create -d overlay --attachable clickhouse || true docker network create -d overlay --attachable clickhouse || true
docker network create -d overlay --attachable clickhouse-development || true docker network create -d overlay --attachable postgres || true
docker network create -d overlay --attachable postgres-development || true
docker network create -d overlay --attachable mongo || true
docker network create -d overlay --attachable mongo-development || true
docker network create -d overlay --attachable minio || true
docker network create -d overlay --attachable minio-development || true
mkdir /sprint-data/mongo || true mkdir /sprint-data/mongo || true
mkdir /sprint-data/redis || true mkdir /sprint-data/redis || true
mkdir /sprint-data/rabbitmq || true
mkdir /sprint-data/certs || true mkdir /sprint-data/certs || true
mkdir /sprint-data/gitea || true mkdir /sprint-data/gitea || true
mkdir /sprint-data/clickhouse || true mkdir /sprint-data/clickhouse || true