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

It seems something wrong with your demo yml configs ? #80

Closed
4 tasks done
rsyanting opened this issue May 18, 2021 · 2 comments
Closed
4 tasks done

It seems something wrong with your demo yml configs ? #80

rsyanting opened this issue May 18, 2021 · 2 comments
Labels
invalid This doesn't seem right

Comments

@rsyanting
Copy link

rsyanting commented May 18, 2021

Describe the bug

I use your docker images and docker-compose to start yourls app. I just copy your yml cofings then to start it. But the logs tell me MySQL Connection Error: (1045) Access denied for user 'root'@'172.19.0.2' (using password: YES) , is there some thing wrong with your demo configs?

version: "3.1"

services:
  yourls:
    image: yourls
    restart: always
    ports:
      - 53080:80
    environment:
      YOURLS_DB_PASS: dfwHGud736H
      YOURLS_SITE: https://dwz.xxxxx.com
      YOURLS_USER: fdey273Hueb
      YOURLS_PASS: 284hdY2fe892

  mysql:
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: djwu28w36svsyw82gs7

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Actual behavior

Screenshots

Versions
You can get this information from referencing CHANGELOG.md or the releases page.
Also, please include:

  • The OS and what version of the OS you're running.
  • Plugins or extensions activated if applicable.

Additional context

@rsyanting rsyanting added the bug Something isn't working label May 18, 2021
@LeoColomb
Copy link
Member

Thanks for opening this ticket @dingjianhub.
The password must be the same between YOURLS and MySQL to allow connection.

@LeoColomb LeoColomb added invalid This doesn't seem right and removed bug Something isn't working labels May 18, 2021
@rsyanting
Copy link
Author

rsyanting commented May 18, 2021

Thans a lot

But now a new question comes ! It tells me

Forbidden
You don't have permission to access this resource.

Apache/2.4.38 (Debian) Server at dwz.xxxxxx.com  Port 80

The yourls config now is

version: "3.1"

services:
  yourls:
    image: yourls
    restart: always
    ports:
      - 53080:80
    environment:
      YOURLS_DB_PASS: dye28Gxxxxxx
      YOURLS_SITE: https://dwz.xxxxxxx.ltd
      YOURLS_USER: jamXXXXX
      YOURLS_PASS: dye28GWXXXXXX

  mysql:
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: dye28XXXXXXX

I use nginx to proxy yourls apps. How to kill it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants