mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2025-12-19 12:36:03 +00:00
Bumps nginx from 1.29.0-alpine to 1.29.1-alpine. --- updated-dependencies: - dependency-name: nginx dependency-version: 1.29.1-alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
72 lines
1.4 KiB
YAML
72 lines
1.4 KiB
YAML
services:
|
|
db_recipes:
|
|
restart: always
|
|
image: postgres:16-alpine
|
|
volumes:
|
|
- postgresql:/var/lib/postgresql/data
|
|
env_file:
|
|
- ./.env
|
|
|
|
web_recipes:
|
|
restart: always
|
|
image: vabene1111/recipes:1.5.35
|
|
env_file:
|
|
- ./.env
|
|
volumes:
|
|
- staticfiles:/opt/recipes/staticfiles
|
|
- nginx_config:/opt/recipes/nginx/conf.d
|
|
- mediafiles:/opt/recipes/mediafiles
|
|
depends_on:
|
|
- 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:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.nginx_recipes.rule=Host(`tandoor.local`)"
|
|
|
|
volumes:
|
|
nginx_config:
|
|
driver: local
|
|
driver_opts:
|
|
type: 'none'
|
|
o: 'bind'
|
|
device: '/app/tandoor/nginx_config'
|
|
staticfiles:
|
|
driver: local
|
|
driver_opts:
|
|
type: 'none'
|
|
o: 'bind'
|
|
device: '/app/tandoor/staticfiles'
|
|
mediafiles:
|
|
driver: local
|
|
driver_opts:
|
|
type: 'none'
|
|
o: 'bind'
|
|
device: '/app/tandoor/mediafiles'
|
|
postgresql:
|
|
driver: local
|
|
driver_opts:
|
|
type: 'none'
|
|
o: 'bind'
|
|
device: '/app/tandoor/db'
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
name: proxy
|