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

workplace_workplace_1 exited with code 127 #8

Open
mostafa-zaied opened this issue Oct 25, 2021 · 0 comments
Open

workplace_workplace_1 exited with code 127 #8

mostafa-zaied opened this issue Oct 25, 2021 · 0 comments

Comments

@mostafa-zaied
Copy link

mostafa-zaied commented Oct 25, 2021

Method 1 (With docker and docker-compose)

  • this appear when run docker-compose up
    MY docker-compose.yaml
version: "2"
networks:
  mysql:
    driver: bridge
services:

  mysql:
    image: mysql:5.7.21
    networks:
      - mysql
    volumes:
      - ${PWD}/data/mysql:/var/lib/mysql
    ports:
      - "3307:3306"
    environment:
      - MYSQL_ROOT_PASSWORD=12345
      - MYSQL_DATABASE=db
      - MYSQL_USER=user
      - MYSQL_PASSWORD=12345
      - ALLOW_EMPTY_PASSWORD=NO

  adminer:
    image: adminer
    networks:
      - mysql
    ports:
      - "8085:8080"

  workplace:
    build: .
    networks:
      - mysql
    ports:
      - "3000:3000"
    depends_on:
      - mysql


image
image
image

I didn't change anything on datasources.json , How to solve this?

@mostafa-zaied mostafa-zaied changed the title SQLSTATE[HY000] [1045] Access denied for user 'root'@'172.28.0.2' (using password: YES) workplace_workplace_1 exited with code 127 Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant