feat: add TypeScript definitions for next-auth session with accessToken and user details
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
-33
@@ -1,37 +1,4 @@
|
||||
services:
|
||||
recipe-frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
image: recipe-frontend:local
|
||||
container_name: recipe-frontend
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
NODE_ENV: "production"
|
||||
HOSTNAME: "0.0.0.0"
|
||||
PORT: "3000"
|
||||
NEXT_PUBLIC_APP_URL: "${NEXT_PUBLIC_APP_URL}"
|
||||
NEXT_PUBLIC_API_URL: "${NEXT_PUBLIC_API_URL}"
|
||||
NEXT_PUBLIC_API_URL_INTERNAL: "http://recipe-api:8080"
|
||||
AUTH_SECRET: "${AUTH_SECRET}"
|
||||
AUTH_URL: "${NEXT_PUBLIC_APP_URL}"
|
||||
MISTRAL_API_KEY: "${MISTRAL_API_KEY:-}"
|
||||
volumes:
|
||||
- recipe_images:/app/public/images
|
||||
depends_on:
|
||||
recipe-api:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3000 >/dev/null 2>&1 || exit 1"]
|
||||
interval: 20s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 40s
|
||||
networks:
|
||||
- proxy
|
||||
- recipe-internal
|
||||
|
||||
recipe-api:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user