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:2.3.2 env_file: - ./.env ports: - 80 volumes: - staticfiles:/opt/recipes/staticfiles - nginx_config:/opt/recipes/nginx/conf.d - mediafiles:/opt/recipes/mediafiles depends_on: - db_recipes labels: - "traefik.enable=true" - "traefik.http.routers.nginx_recipes.rule=Host(`tandoor.lan`)" 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