Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot update the page collection with the web template when changing the Docker host port to something other than 3000. #8214

Open
duytan4work opened this issue Sep 14, 2024 · 2 comments
Assignees
Labels
stale status: needs-triage Possible bug which hasn't been reproduced yet

Comments

@duytan4work
Copy link

Link to reproduction

https://www.loom.com/share/98cfdc252c27464487d15efb2ab7fe1a

Environment Info

## Playload: v3.0.0-beta.104
## Dockerfile
FROM node:20.13.1-alpine3.19 AS base
FROM base AS builder
WORKDIR /app
RUN apk add git bash
EXPOSE 3000
CMD ["sleep", "infinity"]

## docker-compose.yml
services:
  app:
    image: "${IMAGE_NAME}:${IMAGE_TAG}"
    container_name: ${CONTAINER_NAME}-${APP_ENV}-app
    ports:
      - "3001:3000"
    volumes:
      - ./:/app
    networks:
      - network
    depends_on:
      - mongo
  mongo:
    image: "mongo:7.0"
    container_name: ${CONTAINER_NAME}-${APP_ENV}-mongo
    ports:
      - "27017:27017"
    command:
      - --storageEngine=wiredTiger
    volumes:
      - ./.storage/mongo:/data/db
    networks:
      - network
networks:
  network:
    driver: bridge

Describe the Bug

When I changed host port from 3000 to 30001.
I got an issue can not update/create new page collection with web template.

Reproduction Steps

Step 1: Change docker-compose.yml payload serivce payload to
ports:
- "3001:3000"
Step 2: npm run dev
Step 3: go to the http://localhost:3001/admin/collections/pages/
Step 4: Try update any page collection we can got an error message.

Adapters and Plugins

db-mongodb

@duytan4work duytan4work added status: needs-triage Possible bug which hasn't been reproduced yet v3 labels Sep 14, 2024
@paulpopus paulpopus self-assigned this Sep 16, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Sep 16, 2024
@denolfe denolfe removed the v3 label Nov 19, 2024
Copy link
Contributor

This issue has been marked as stale due to lack of activity.

To keep this issue open, please indicate that it is still relevant in a comment below.

@github-actions github-actions bot added the stale label Dec 13, 2024
Copy link
Contributor

This issue was automatically closed due to lack of activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2024
@denolfe denolfe reopened this Dec 21, 2024
@github-actions github-actions bot added the status: needs-triage Possible bug which hasn't been reproduced yet label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale status: needs-triage Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

3 participants