Skip to content

Commit

Permalink
localstack s3 persistency fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkersigirci committed Jan 11, 2025
1 parent 016eb0d commit 295002b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ services:
- "traefik.http.services.hf_rerank-svc.loadbalancer.server.port=80"

############## BLOB STORAGE CLIENT #####################
# FIXME: On container restart, all buckets are lost
# NOTE: Persistency is a pro feature, hence official image is not used
# localstack-s3:
# image: localstack/localstack:s3-latest
# container_name: localstack-s3
Expand All @@ -445,7 +445,7 @@ services:
# - "traefik.http.services.localstack-s3-svc.loadbalancer.server.port=4566"

localstack:
image: localstack/localstack:latest
image: gresau/localstack-persist:3
container_name: localstack
restart: ${RESTART_POLICY:-unless-stopped}
environment:
Expand All @@ -459,6 +459,7 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./scripts/create_s3_bucket.sh:/etc/localstack/init/ready.d/script.sh
- ./deployment/volumes/localstack:/persisted-data
labels:
- "traefik.enable=true"
## HTTP Routers
Expand Down

0 comments on commit 295002b

Please sign in to comment.