Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ echo "hello localstackmount" > hello.txt
cat hello.txt
```

## docker compose

WIP

```sh
docker compose up -d
docker exec -it localstackmount-mount-1 bash
cd ~/mount/localstack/
ls
# <your buckets>
```


## Limitations

Expand Down
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.8"
version: "3.9"

services:
localstack:
Expand Down Expand Up @@ -40,12 +40,13 @@ services:
security_opt:
- apparmor:unconfined
volumes:
# - ./mount:/root/mount/localstack:ro
# https://matsuand.github.io/docs.docker.jp.onthefly/compose/compose-file/compose-file-v3/#volumes
# https://docs.docker.com/compose/compose-file/compose-file-v3/#long-syntax-3
- type: bind
source: ./mount
source: mount
target: /root/mount
bind:
# https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation
propagation: rshared
depends_on:
localstack:
Expand Down