Allow CI container tests beside production
Test and deploy / test-and-deploy (push) Failing after 49s
Test and deploy / test-and-deploy (push) Failing after 49s
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ services:
|
||||
db:
|
||||
condition: service_healthy
|
||||
# Nginx Proxy Manager routes https://roast.srmr.xyz to this host port.
|
||||
ports: ["8090:8090"]
|
||||
ports: ["${APP_PORT:-8090}:8090"]
|
||||
restart: unless-stopped
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
|
||||
@@ -31,7 +31,7 @@ test("Docker image starts against PostgreSQL and applies migrations", async (t)
|
||||
const envFile = path.join(temp, "compose.env");
|
||||
await writeFile(
|
||||
envFile,
|
||||
`POSTGRES_PASSWORD=container-test-password\nBOOTSTRAP_SETUP_TOKEN=\nPI_AGENT_CONFIG_DIR=${agentDir}\n`,
|
||||
`POSTGRES_PASSWORD=container-test-password\nBOOTSTRAP_SETUP_TOKEN=\nPI_AGENT_CONFIG_DIR=${agentDir}\nAPP_PORT=18090\n`,
|
||||
);
|
||||
const project = `roastplanner${Date.now()}`;
|
||||
const compose = (args, options = {}) =>
|
||||
|
||||
Reference in New Issue
Block a user