1
0
Fork 0
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:
Grigory Efimov 2023-03-20 11:09:52 +00:00
parent 870cea7315
commit b00f7343bc
No known key found for this signature in database
GPG key ID: 0A88C34DFA7FD939
6 changed files with 18 additions and 1 deletions

3
.aws/credentials Normal file
View file

@ -0,0 +1,3 @@
[default]
aws_access_key_id=testid
aws_secret_access_key=testkey

2
.env Normal file
View file

@ -0,0 +1,2 @@
AWS_ACCESS_KEY_ID=testid
AWS_SECRET_ACCESS_KEY=testkey

1
.gitignore vendored
View file

@ -1 +1,2 @@
storage/
s3_root/

View file

@ -15,3 +15,6 @@ stop:
clean:
docker system prune -a
cleanTmpFiles:
rm -rf storage/ s3_root/

View file

@ -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```

View file

@ -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: