We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How exactly do I connect to the DB after the docker is running?
The text was updated successfully, but these errors were encountered:
I combined this project and opencart, but when i register account, 504 timeout nginx. How should I do ?. Thank you
Sorry, something went wrong.
Add ports to the db service:
db
version: "2" services: nginx: build: context: ./nginx ports: - "8080:80" volumes: - ./app:/var/app fpm: build: context: ./fpm volumes: - ./app:/var/app expose: - "9000" environment: - "DB_HOST=db" - "DB_DATABASE=laravel" db: image: mariadb:10.4.12 ports: - "3306:3306" environment: - MYSQL_ROOT_PASSWORD=root - MYSQL_DATABASE=laravel volumes: - ./database:/var/lib/mysql
Then you can connect using: mysql -u root -p
mysql -u root -p
No branches or pull requests
How exactly do I connect to the DB after the docker is running?
The text was updated successfully, but these errors were encountered: