diff --git a/docker-compose.yaml b/docker-compose.yaml index 22b1a5d..a8ce3f0 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -386,19 +386,9 @@ services: volumes: # Static files written by collectstatic (run by the init sidecar on every - # `up`). Bind-mounted from the host so nginx can serve them directly. - # The host path is created by Ansible before `docker compose up`. + # `up`). Docker-managed volume — no host path needed; storage is minimal + # and auto-regenerated on every `up`. static: - driver: local - driver_opts: - type: none - device: ${STATIC_ROOT} - o: bind - # Media files. Production uses USE_LOCAL_STORAGE=False so this is mostly - # empty — kept for any path that writes to MEDIA_ROOT directly. + # Media files. Production uses USE_LOCAL_STORAGE=False (S3) so this volume + # is effectively unused — kept so the mount points in services don't break. media: - driver: local - driver_opts: - type: none - device: ${MEDIA_ROOT} - o: bind