diff --git a/.github/workflows/ci-apps-web.yml b/.github/workflows/ci-apps-web.yml index 0e44ee5b..158a319f 100644 --- a/.github/workflows/ci-apps-web.yml +++ b/.github/workflows/ci-apps-web.yml @@ -81,7 +81,7 @@ jobs: run: | pnpm --filter=web build env: - NEXTAUTH_URL: https://localhost:3000 + NEXTAUTH_URL: http://localhost:3000 NEXTAUTH_SECRET: secret-string-only-for-ci APP_CACHE_DSN: '' # Speed up build: they are linted in a previous step diff --git a/apps/web/next-sitemap.config.cjs b/apps/web/next-sitemap.config.cjs index 511d6180..beec80df 100644 --- a/apps/web/next-sitemap.config.cjs +++ b/apps/web/next-sitemap.config.cjs @@ -1,5 +1,5 @@ /** @type {import('next-sitemap').IConfig} */ module.exports = { - siteUrl: process.env.APP_URL || 'https://localhost:3000', + siteUrl: process.env.APP_URL || 'http://localhost:3000', generateRobotsTxt: true, } diff --git a/apps/web/playwright.config.ts b/apps/web/playwright.config.ts index 3e12bba4..423e46b4 100644 --- a/apps/web/playwright.config.ts +++ b/apps/web/playwright.config.ts @@ -30,7 +30,7 @@ const config: PlaywrightTestConfig = { ], use: { - baseURL: 'http://localhost:3000', + baseURL: process.env.APP_URL || 'http://localhost:3000', headless: true, // Retry a test if it's failing with enabled tracing. This allows you to analyse the DOM, console logs, network traffic etc. // More information: https://playwright.dev/docs/trace-viewer diff --git a/docker-compose.yaml b/docker-compose.yaml index dfc71f14..37f6ec9b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -24,6 +24,8 @@ services: - traefik.http.routers.${APP_NAME}_web.tls=true - traefik.http.routers.${APP_NAME}_web.service=${APP_NAME}_web - traefik.http.services.${APP_NAME}_web.loadbalancer.server.port=3000 + expose: + - 3000 docs: image: wayofdev/node:lts-alpine-latest