Skip to content

Commit 0c44c0f

Browse files
committed
refactor: add YAML anchors to reduce docker-compose duplication and bump service versions
Introduce x-anysync-daemon and x-anysync-node anchors to eliminate repeated deploy/restart blocks across services. Remove legacy build-from-source Compose files, Dockerfile, CHANGELOG.md, and unused env vars MONGO_URL and EXTERNAL_MINIO_WEB_PORT.
1 parent c73206e commit 0c44c0f

9 files changed

Lines changed: 23 additions & 319 deletions

.env.example

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
# -----------------------------------------------------------------------------
88
# Service versions
99
# -----------------------------------------------------------------------------
10-
ANY_SYNC_NODE_VERSION=v0.11.0
11-
ANY_SYNC_FILENODE_VERSION=v0.11.0
12-
ANY_SYNC_COORDINATOR_VERSION=v0.9.0
13-
ANY_SYNC_CONSENSUSNODE_VERSION=v0.7.1
10+
ANY_SYNC_NODE_VERSION=v0.11.1
11+
ANY_SYNC_FILENODE_VERSION=v0.11.1
12+
ANY_SYNC_COORDINATOR_VERSION=v0.9.1
13+
ANY_SYNC_CONSENSUSNODE_VERSION=v0.7.2
1414
ANY_SYNC_TOOLS_VERSION=latest
1515
ANYTYPE_CLI_VERSION=latest
1616

@@ -120,7 +120,6 @@ ANYTYPE_CLI_ACCOUNT_NAME=anytype-bot
120120
MONGO_1_PORT=27001
121121
MONGO_CONNECT=mongodb://mongo-1:${MONGO_1_PORT}
122122
MONGO_REPLICA_SET=rs0
123-
MONGO_URL=${MONGO_CONNECT}/?replicaSet=${MONGO_REPLICA_SET}
124123

125124

126125
# -----------------------------------------------------------------------------
@@ -144,7 +143,6 @@ MINIO_BUCKET=minio-bucket
144143
MINIO_PORT=9000
145144
EXTERNAL_MINIO_PORT=${MINIO_PORT}
146145
MINIO_WEB_PORT=9001
147-
EXTERNAL_MINIO_WEB_PORT=${MINIO_WEB_PORT}
148146

149147

150148
# -----------------------------------------------------------------------------

CHANGELOG.md

Lines changed: 0 additions & 188 deletions
This file was deleted.

Dockerfile

Lines changed: 0 additions & 22 deletions
This file was deleted.

docker-compose.any-sync-consensusnode.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

docker-compose.any-sync-coordinator.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

docker-compose.any-sync-filenode.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

docker-compose.any-sync-node-1.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

docker-compose.any-sync-node-all.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)