Skip to content

Commit

Permalink
build: add cmd + entrypoint override for playwright compose api
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jul 26, 2024
1 parent 2067cec commit 28d3bf5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions contrib/playwright/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,23 @@ services:
FMTM_DOMAIN: "fmtm.dev.test"
# Do not use dev port, use port 80
FMTM_DEV_PORT: "false"
# The ci image has overrides for CMD and ENTRYPOINT, so re-apply
entrypoint: ["/app-entrypoint.sh"]
# API_REPLICAS can be increased via CI env vars
command:
[
"uvicorn",
"app.main:api",
"--host",
"0.0.0.0",
"--port",
"8000",
"--workers",
"1",
"--log-level",
"critical",
"--no-access-log",
]

ui:
# This hostname is used for Playwright test internal networking
Expand Down

0 comments on commit 28d3bf5

Please sign in to comment.