mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
Switched to restart always
This commit is contained in:
parent
85c5d6b3b7
commit
a41f8b7e20
2 changed files with 8 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@
|
|||
/.env
|
||||
/.env.override
|
||||
/account_stop.json
|
||||
/.idea
|
|
@ -25,6 +25,7 @@ services:
|
|||
generateconfig-processing:
|
||||
condition: service_completed_successfully
|
||||
image: "mongo:${MONGO_VERSION}"
|
||||
restart: always
|
||||
command: ["--replSet", "${MONGO_REPLICA_SET}", "--port", "${MONGO_1_PORT}"]
|
||||
ports:
|
||||
- "${MONGO_1_PORT}:${MONGO_1_PORT}"
|
||||
|
@ -117,7 +118,7 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
memory: 500M
|
||||
restart: on-failure
|
||||
restart: always
|
||||
|
||||
any-sync-filenode:
|
||||
image: "ghcr.io/anyproto/any-sync-filenode:${ANY_SYNC_FILENODE_VERSION}"
|
||||
|
@ -140,7 +141,7 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
memory: 500M
|
||||
restart: on-failure
|
||||
restart: always
|
||||
|
||||
any-sync-node-1:
|
||||
image: "ghcr.io/anyproto/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
||||
|
@ -160,7 +161,7 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
memory: 500M
|
||||
restart: on-failure
|
||||
restart: always
|
||||
|
||||
any-sync-node-2:
|
||||
image: "ghcr.io/anyproto/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
||||
|
@ -180,7 +181,7 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
memory: 500M
|
||||
restart: on-failure
|
||||
restart: always
|
||||
|
||||
any-sync-node-3:
|
||||
image: "ghcr.io/anyproto/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
||||
|
@ -200,7 +201,7 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
memory: 500M
|
||||
restart: on-failure
|
||||
restart: always
|
||||
|
||||
any-sync-consensusnode:
|
||||
image: "ghcr.io/anyproto/any-sync-consensusnode:${ANY_SYNC_CONSENSUSNODE_VERSION}"
|
||||
|
@ -218,7 +219,7 @@ services:
|
|||
resources:
|
||||
limits:
|
||||
memory: 500M
|
||||
restart: on-failure
|
||||
restart: always
|
||||
|
||||
# any-sync-netcheck
|
||||
netcheck:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue