mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
add s3-emulator
This commit is contained in:
parent
870cea7315
commit
b00f7343bc
6 changed files with 18 additions and 1 deletions
3
.aws/credentials
Normal file
3
.aws/credentials
Normal file
|
@ -0,0 +1,3 @@
|
|||
[default]
|
||||
aws_access_key_id=testid
|
||||
aws_secret_access_key=testkey
|
2
.env
Normal file
2
.env
Normal file
|
@ -0,0 +1,2 @@
|
|||
AWS_ACCESS_KEY_ID=testid
|
||||
AWS_SECRET_ACCESS_KEY=testkey
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
storage/
|
||||
s3_root/
|
||||
|
|
3
Makefile
3
Makefile
|
@ -15,3 +15,6 @@ stop:
|
|||
|
||||
clean:
|
||||
docker system prune -a
|
||||
|
||||
cleanTmpFiles:
|
||||
rm -rf storage/ s3_root/
|
||||
|
|
|
@ -7,4 +7,5 @@
|
|||
## usage
|
||||
* start stand: ```make start```
|
||||
* stop stand: ```make stop```
|
||||
* clean unused objects: ```make clean```
|
||||
* clean unused docker objects: ```make clean```
|
||||
* clean tmp files for any-sync-node and s3: ```cleanTmpFiles```
|
||||
|
|
|
@ -4,6 +4,12 @@ services:
|
|||
image: mongo
|
||||
ports:
|
||||
- 27017:27017
|
||||
s3-emulator:
|
||||
image: stanislavt/s3-emulator
|
||||
ports:
|
||||
- 4569:4569
|
||||
volumes:
|
||||
- ./s3_root:/s3_root
|
||||
any-sync-node-1:
|
||||
image: "ghcr.io/anytypeio/any-sync-node:latest"
|
||||
ports:
|
||||
|
@ -53,6 +59,7 @@ services:
|
|||
- 8004:8000
|
||||
volumes:
|
||||
- ./etc/any-sync-filenode/:/etc/any-sync-filenode/
|
||||
- ./.aws:/root/.aws:ro
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue