mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 12:18:45 -05:00
Mount all volumes in nginx read-only
This commit is contained in:
@@ -30,8 +30,8 @@ services:
|
||||
- ./.env
|
||||
volumes:
|
||||
- nginx_config:/etc/nginx/conf.d:ro
|
||||
- staticfiles:/static
|
||||
- ./mediafiles:/media
|
||||
- staticfiles:/static:ro
|
||||
- ./mediafiles:/media:ro
|
||||
labels: # traefik example labels
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.recipes.rule=Host(`recipes.mydomain.com`, `recipes.myotherdomain.com`)"
|
||||
@@ -45,7 +45,7 @@ services:
|
||||
|
||||
networks:
|
||||
default:
|
||||
traefik: # This is you external traefik network
|
||||
traefik: # This is your external traefik network
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user