Comments (1)
You have to either run the scripts inside of the container (and ensure there is routing to the outside world), or modify the scripts to access the db container.
Example here:
https://github.com/nystudio107/devmode/blob/develop/scripts/docker_pull_db.sh
from craft-scripts.
Related Issues (20)
- pull_db.sh on local MAMP Pro HOT 1
- exclude tables HOT 1
- ENV Paths Question HOT 1
- pull assets ownership issue HOT 1
- Commerce Orders & Customers HOT 1
- Feature Request: Multiple remotes HOT 3
- How does this work with Craft 3.1 project config? HOT 1
- You have an error in your SQL syntax HOT 1
- X files to consider *** Synced assets ... but nothing seems to have been pulled synced HOT 1
- Skip tables on pull_db HOT 1
- mysql commands on a nitro environment HOT 2
- Unsupported mysqldump args cause scripts to fail with MariaDB HOT 3
- WSL: Host not being used HOT 1
- Permission set with set_perms.sh on ./craft being 644 HOT 1
- No assets being pulled HOT 2
- Issue with pull_db.sh HOT 1
- Support DDEV DB imports HOT 8
- Automatically delete tables that are not in use HOT 2
- Compatibility with CraftCMS 4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft-scripts.