Skip to content

Commit

Permalink
fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Mineev committed Aug 23, 2022
1 parent acd622d commit 17c696a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions compose-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@ services:
image: umputun/remark42:dev
container_name: "remark42"

ports:
- "8080:8080" # primary rest server
- "8484:8084" # local oauth2 server

environment:
- REMARK_URL=http://remark:8080
- REMARK_URL=http://remark42:8080
- SECRET=12345
- DEBUG=true
- ADMIN_PASSWD=password
Expand Down
3 changes: 1 addition & 2 deletions frontend/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ const config: PlaywrightTestConfig = {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
actionTimeout: 0,
/* Base URL to use in actions like `await page.goto('/')`. */
// baseURL: 'http://localhost:3000',
baseURL: process.env.CI ? "http://remark42:8080" : "http://127.0.0.1:8080",

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",
baseURL: process.env.CI ? "http://remark42:8080" : "http://127.0.0.1:8080",
},

/* Configure projects for major browsers */
Expand Down

0 comments on commit 17c696a

Please sign in to comment.