Skip to content

Commit

Permalink
persist media_data in prod (#1065)
Browse files Browse the repository at this point in the history
Signed-off-by: Ndibe Raymond Olisaemeka <[email protected]>
Co-authored-by: Ndibe Raymond Olisaemeka <[email protected]>
  • Loading branch information
NdibeRaymond and Ndibe Raymond Olisaemeka authored Dec 29, 2023
1 parent 713af51 commit afa5707
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zubhub_backend/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ services:
max_replicas_per_node: 1
constraints:
- "node.role==worker"
volumes:
# We don't plan to ever use this in prod since we use external media storage services.
# This is just precautionary.
- media_data:/home/media/media_store
environment:
- SECRET_NAME=zubhub_services_secrets
secrets:
Expand Down Expand Up @@ -117,3 +121,4 @@ secrets:

volumes:
ssl_data:
media_data:

0 comments on commit afa5707

Please sign in to comment.