Compare commits
8 Commits
9fad7dd21a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7795898546 | ||
|
|
d8c68a2307 | ||
| e706e91a2a | |||
| b0b3dbdbd6 | |||
|
|
1347bcc321 | ||
|
|
f6371f8813 | ||
|
|
1af2cfa4e2 | ||
|
|
975ae0cedc |
@@ -7,6 +7,7 @@ services:
|
||||
networks:
|
||||
- common-infra-nginx-development
|
||||
- configurator
|
||||
- minio-development
|
||||
environment:
|
||||
MINIO_SECRET_KEY: $MINIO_SECRET_KEY_DEV
|
||||
ports:
|
||||
@@ -48,6 +49,8 @@ services:
|
||||
|
||||
postgres:
|
||||
image: postgres:14-alpine3.19
|
||||
networks:
|
||||
- postgres-development
|
||||
volumes:
|
||||
- /sprint-data/postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
@@ -74,6 +77,8 @@ services:
|
||||
|
||||
mongo:
|
||||
image: mongo:6.0.2
|
||||
networks:
|
||||
- mongo-development
|
||||
volumes:
|
||||
- /sprint-data/mongo:/data/db
|
||||
environment:
|
||||
@@ -93,29 +98,6 @@ services:
|
||||
parallelism: 1
|
||||
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:
|
||||
image: redis:alpine3.16
|
||||
volumes:
|
||||
@@ -137,6 +119,8 @@ services:
|
||||
|
||||
minio:
|
||||
image: bitnami/minio:2022.10.8
|
||||
networks:
|
||||
- minio-development
|
||||
volumes:
|
||||
- minio_data:/data
|
||||
environment:
|
||||
@@ -190,3 +174,9 @@ networks:
|
||||
external: true
|
||||
clickhouse-development:
|
||||
external: true
|
||||
postgres-development:
|
||||
external: true
|
||||
mongo-development:
|
||||
external: true
|
||||
minio-development:
|
||||
external: true
|
||||
@@ -7,6 +7,7 @@ services:
|
||||
networks:
|
||||
- common-infra-nginx
|
||||
- configurator
|
||||
- minio
|
||||
environment:
|
||||
MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD
|
||||
ports:
|
||||
@@ -77,6 +78,8 @@ services:
|
||||
|
||||
postgres:
|
||||
image: postgres:14-alpine3.19
|
||||
networks:
|
||||
- postgres
|
||||
volumes:
|
||||
- /sprint-data/postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
@@ -108,6 +111,8 @@ services:
|
||||
|
||||
mongo:
|
||||
image: mongo:6.0.2
|
||||
networks:
|
||||
- mongo
|
||||
volumes:
|
||||
- /sprint-data/mongo:/data/db
|
||||
environment:
|
||||
@@ -148,6 +153,8 @@ services:
|
||||
|
||||
minio:
|
||||
image: bitnami/minio:2022.10.8
|
||||
networks:
|
||||
- minio
|
||||
volumes:
|
||||
- minio_data:/data
|
||||
environment:
|
||||
@@ -171,7 +178,9 @@ services:
|
||||
order: start-first
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:1.22.3
|
||||
image: gitea/gitea:1.24.6
|
||||
networks:
|
||||
- postgres
|
||||
volumes:
|
||||
- /sprint-data/gitea:/data
|
||||
- /etc/timezone:/etc/timezone
|
||||
@@ -183,7 +192,7 @@ services:
|
||||
USER_UID: 1000
|
||||
USER_GID: 1000
|
||||
GITEA__database__DB_TYPE: postgres
|
||||
GITEA__database__HOST: pg.chocomarsh.com:5432
|
||||
GITEA__database__HOST: postgres:5432
|
||||
GITEA__database__NAME: gitea
|
||||
GITEA__database__USER: postgres
|
||||
GITEA__database__PASSWD: $DB_PASSWORD_PROD
|
||||
@@ -202,6 +211,7 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /sprint-data:/sprint-data
|
||||
- /root/.cache/act:/root/.cache/act
|
||||
environment:
|
||||
GITEA_INSTANCE_URL: https://gitea.chocomarsh.com/
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: $REGISTRATION_TOKEN
|
||||
@@ -232,3 +242,9 @@ networks:
|
||||
external: true
|
||||
clickhouse:
|
||||
external: true
|
||||
postgres:
|
||||
external: true
|
||||
mongo:
|
||||
external: true
|
||||
minio:
|
||||
external: true
|
||||
|
||||
@@ -2,7 +2,7 @@ version: '3.2'
|
||||
|
||||
services:
|
||||
agent:
|
||||
image: portainer/agent:2.11.1
|
||||
image: portainer/agent:2.33.1
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
constraints: [node.platform.os == linux]
|
||||
|
||||
portainer:
|
||||
image: portainer/portainer-ce:2.11.1
|
||||
image: portainer/portainer-ce:2.33.1
|
||||
command: -H tcp://tasks.agent:9001 --tlsskipverify
|
||||
ports:
|
||||
- "9443:9443"
|
||||
|
||||
@@ -3,3 +3,4 @@ FROM gitea/act_runner:nightly
|
||||
RUN apk add docker
|
||||
RUN apk add git
|
||||
RUN apk add --no-cache nodejs
|
||||
RUN apk add --no-cache make
|
||||
|
||||
@@ -6,7 +6,7 @@ from json import loads
|
||||
|
||||
|
||||
minio_client = Minio(
|
||||
"minio.dev.chocomarsh.com:9000",
|
||||
"minio:9000",
|
||||
access_key="serviceminioadmin",
|
||||
secret_key=os.getenv("MINIO_SECRET_KEY", "minioadmin"),
|
||||
secure=False,
|
||||
|
||||
@@ -6,7 +6,7 @@ from json import loads
|
||||
|
||||
|
||||
minio_client = Minio(
|
||||
"minio.chocomarsh.com:9000",
|
||||
"minio:9000",
|
||||
access_key="serviceminioadmin",
|
||||
secret_key=os.getenv("MINIO_SECRET_KEY", "minioadmin"),
|
||||
secure=False,
|
||||
|
||||
@@ -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 configurator-development || 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/redis || true
|
||||
mkdir /sprint-data/rabbitmq || true
|
||||
mkdir /sprint-data/certs || true
|
||||
mkdir /sprint-data/gitea || true
|
||||
mkdir /sprint-data/clickhouse || true
|
||||
|
||||
Reference in New Issue
Block a user