mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2025-12-19 20:46:09 +00:00
tandoor: remove useless nginx
This commit is contained in:
@@ -12,29 +12,14 @@ services:
|
|||||||
image: vabene1111/recipes:2.3.0
|
image: vabene1111/recipes:2.3.0
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
|
ports:
|
||||||
|
- 80
|
||||||
volumes:
|
volumes:
|
||||||
- staticfiles:/opt/recipes/staticfiles
|
- staticfiles:/opt/recipes/staticfiles
|
||||||
- nginx_config:/opt/recipes/nginx/conf.d
|
- nginx_config:/opt/recipes/nginx/conf.d
|
||||||
- mediafiles:/opt/recipes/mediafiles
|
- mediafiles:/opt/recipes/mediafiles
|
||||||
depends_on:
|
depends_on:
|
||||||
- db_recipes
|
- db_recipes
|
||||||
|
|
||||||
nginx_recipes:
|
|
||||||
image: nginx:1.29.1-alpine
|
|
||||||
restart: always
|
|
||||||
networks:
|
|
||||||
- default
|
|
||||||
- proxy
|
|
||||||
ports:
|
|
||||||
- 80
|
|
||||||
env_file:
|
|
||||||
- ./.env
|
|
||||||
depends_on:
|
|
||||||
- web_recipes
|
|
||||||
volumes:
|
|
||||||
- nginx_config:/etc/nginx/conf.d:ro
|
|
||||||
- staticfiles:/static:ro
|
|
||||||
- mediafiles:/media:ro
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.nginx_recipes.rule=Host(`tandoor.lan`)"
|
- "traefik.http.routers.nginx_recipes.rule=Host(`tandoor.lan`)"
|
||||||
|
|||||||
Reference in New Issue
Block a user