diff --git a/web-compose.yml b/web-compose.yml index c8101db..f8be1ed 100644 --- a/web-compose.yml +++ b/web-compose.yml @@ -72,8 +72,31 @@ services: restart: always networks: - immich - + web_recipes: + restart: always + image: vabene1111/recipes + env_file: .tandoor.env + volumes: + - /tandoor/statics:/opt/recipes/staticfiles + # Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts + - nginx_config:/opt/recipes/nginx/conf.d + - /tandoor/media:/opt/recipes/mediafiles + + nginx_recipes: + image: nginx:mainline-alpine + restart: always + ports: + - 8083:80 + env_file: .tandoor.env + depends_on: + - web_recipes + volumes: + # Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts + - nginx_config:/etc/nginx/conf.d:ro + - /tandoor/statics:/static:ro + - /tandoor/media:/media:ro networks: immich: volumes: model-cache: + nginx_config: