mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
first imports
This commit is contained in:
parent
230a8f2d09
commit
22e1547725
2 changed files with 7 additions and 7 deletions
|
@ -60,7 +60,7 @@ use file .env
|
||||||
## usage "local build" images
|
## usage "local build" images
|
||||||
* clone repos
|
* clone repos
|
||||||
```
|
```
|
||||||
install -d repos && for REPO in any-sync-{node,filenode,coordinator}; do if [[ ! -d repos/$REPO ]]; then git clone git@github.com:anytypeio/${REPO}.git repos/$REPO; fi; done
|
install -d repos && for REPO in any-sync-{node,filenode,coordinator}; do if [[ ! -d repos/$REPO ]]; then git clone git@github.com:anyproto/${REPO}.git repos/$REPO; fi; done
|
||||||
```
|
```
|
||||||
* create a symlink to the "override file" you need (or you can create docker-compose.override.yml by your self)
|
* create a symlink to the "override file" you need (or you can create docker-compose.override.yml by your self)
|
||||||
```
|
```
|
||||||
|
|
|
@ -22,14 +22,14 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./tmp/s3_root:/s3_root
|
- ./tmp/s3_root:/s3_root
|
||||||
any-sync-coordinator_bootstrap:
|
any-sync-coordinator_bootstrap:
|
||||||
image: "ghcr.io/anytypeio/any-sync-coordinator:${ANY_SYNC_COORDINATOR_VERSION}"
|
image: "ghcr.io/anyproto/any-sync-coordinator:${ANY_SYNC_COORDINATOR_VERSION}"
|
||||||
depends_on: [mongo]
|
depends_on: [mongo]
|
||||||
restart: "no"
|
restart: "no"
|
||||||
volumes:
|
volumes:
|
||||||
- ./tmp/etc/any-sync-coordinator/:/etc/any-sync-coordinator/
|
- ./tmp/etc/any-sync-coordinator/:/etc/any-sync-coordinator/
|
||||||
command: /bin/any-sync-confapply -c /etc/any-sync-coordinator/config.yml -n /etc/any-sync-coordinator/network.yml -e
|
command: /bin/any-sync-confapply -c /etc/any-sync-coordinator/config.yml -n /etc/any-sync-coordinator/network.yml -e
|
||||||
any-sync-coordinator:
|
any-sync-coordinator:
|
||||||
image: "ghcr.io/anytypeio/any-sync-coordinator:${ANY_SYNC_COORDINATOR_VERSION}"
|
image: "ghcr.io/anyproto/any-sync-coordinator:${ANY_SYNC_COORDINATOR_VERSION}"
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongo
|
- mongo
|
||||||
- any-sync-coordinator_bootstrap
|
- any-sync-coordinator_bootstrap
|
||||||
|
@ -45,7 +45,7 @@ services:
|
||||||
memory: 500M
|
memory: 500M
|
||||||
command: bash -c "sleep 5; /bin/any-sync-coordinator -c /etc/any-sync-coordinator/config.yml"
|
command: bash -c "sleep 5; /bin/any-sync-coordinator -c /etc/any-sync-coordinator/config.yml"
|
||||||
any-sync-filenode:
|
any-sync-filenode:
|
||||||
image: "ghcr.io/anytypeio/any-sync-filenode:${ANY_SYNC_FILENODE_VERSION}"
|
image: "ghcr.io/anyproto/any-sync-filenode:${ANY_SYNC_FILENODE_VERSION}"
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- s3-emulator
|
- s3-emulator
|
||||||
|
@ -63,7 +63,7 @@ services:
|
||||||
memory: 500M
|
memory: 500M
|
||||||
command: bash -c "sleep 10; /bin/any-sync-filenode -c /etc/any-sync-filenode/config.yml"
|
command: bash -c "sleep 10; /bin/any-sync-filenode -c /etc/any-sync-filenode/config.yml"
|
||||||
any-sync-node-1:
|
any-sync-node-1:
|
||||||
image: "ghcr.io/anytypeio/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
image: "ghcr.io/anyproto/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
||||||
depends_on: [any-sync-coordinator]
|
depends_on: [any-sync-coordinator]
|
||||||
ports:
|
ports:
|
||||||
- 4431:443
|
- 4431:443
|
||||||
|
@ -79,7 +79,7 @@ services:
|
||||||
memory: 500M
|
memory: 500M
|
||||||
command: bash -c "sleep 10; /bin/any-sync-node -c /etc/any-sync-node/config.yml"
|
command: bash -c "sleep 10; /bin/any-sync-node -c /etc/any-sync-node/config.yml"
|
||||||
any-sync-node-2:
|
any-sync-node-2:
|
||||||
image: "ghcr.io/anytypeio/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
image: "ghcr.io/anyproto/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
||||||
depends_on: [any-sync-coordinator]
|
depends_on: [any-sync-coordinator]
|
||||||
ports:
|
ports:
|
||||||
- 4432:443
|
- 4432:443
|
||||||
|
@ -95,7 +95,7 @@ services:
|
||||||
memory: 500M
|
memory: 500M
|
||||||
command: bash -c "sleep 10; /bin/any-sync-node -c /etc/any-sync-node/config.yml"
|
command: bash -c "sleep 10; /bin/any-sync-node -c /etc/any-sync-node/config.yml"
|
||||||
any-sync-node-3:
|
any-sync-node-3:
|
||||||
image: "ghcr.io/anytypeio/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
image: "ghcr.io/anyproto/any-sync-node:${ANY_SYNC_NODE_VERSION}"
|
||||||
depends_on: [any-sync-coordinator]
|
depends_on: [any-sync-coordinator]
|
||||||
ports:
|
ports:
|
||||||
- 4433:443
|
- 4433:443
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue