diff --git a/docker-compose.supersync.yaml b/docker-compose.supersync.yaml index 139f16ad9d..e8284aa417 100644 --- a/docker-compose.supersync.yaml +++ b/docker-compose.supersync.yaml @@ -5,3 +5,14 @@ services: supersync: ports: !override - '1901:1900' + environment: + - NODE_ENV=development + - PORT=1900 + - TEST_MODE=true + - TEST_MODE_CONFIRM=yes-i-understand-the-risks + - JWT_SECRET=e2e-test-secret-minimum-32-chars-long-for-security + - CORS_ORIGINS=* + - DATA_DIR=/data + - DATABASE_URL=postgresql://supersync:superpassword@db:5432/supersync_db + - WEBAUTHN_ORIGIN=http://localhost:1901 + - PUBLIC_URL=http://localhost:1901 diff --git a/src/app/features/config/default-global-config.const.ts b/src/app/features/config/default-global-config.const.ts index e5c6742aa7..d3bfbabf95 100644 --- a/src/app/features/config/default-global-config.const.ts +++ b/src/app/features/config/default-global-config.const.ts @@ -211,7 +211,7 @@ export const DEFAULT_GLOBAL_CONFIG: GlobalConfigState = { superSync: { baseUrl: environment.production ? 'https://sync.super-productivity.com' - : 'http://localhost:1900', + : 'http://localhost:1901', userName: null, password: null, accessToken: null,