Comments (10)
homestead-docker's stack is capable of running wordpress. just add it as another app to your current container.
see read me on how to add another virtual host.
from homestead-docker.
Yes that was my first thought but since my Swedish provider for non Laravel sites runs Apache, PHP 5.6 and MySQL i thought i should try to replicate that environment as close as i could.
Maybe this is unnecessary and if so i would be more than happy to run all projects in your docker.
I guess the big problem is that if i run MariaDB in dev and export to prod that runs MySQL this will be an problem. Maybe i can run two sql containers side by side?
What is your opinion?
from homestead-docker.
Yes you can add another Mysql container see this: https://github.com/docker-library/mysql
Just set the proper configuration in your wordpress config file and everything should work fine.
from homestead-docker.
i just need to chose different porst right?
ports: - "33060:3306"
from homestead-docker.
Do you think this would work?
### MariaDB Container ######################################### mariadb: image: tutum/mariadb restart: always ports: - "33060:3306" environment: MARIADB_USER: admin # cannot be changed ( for info. only ) MARIADB_PASS: root volumes: - ~/dc/apps/volumes/mariadb:/var/lib/mysql # database files ### MySQL Container ######################################### mysqldb: image: mysql:5.7 restart: always ports: - "33068:3306" environment: MYSQL_ROOT_PASSWORD: root volumes: - ~/dc/apps/volumes/mysqldb:/var/lib/mysql # database files
from homestead-docker.
Yes, this config should work.
from homestead-docker.
Unfortunately this didn't work.
Some WP sites and all Joomla sited prior to version 3.5 doesn't work with PHP7.
Any tip would be appreciated.
from homestead-docker.
Try the other image which works with php 5.6
shincoder/homestead:php5.6
from homestead-docker.
Great!
I suspect that my Joomla sites wants Apache instead of Nginx.
Is it possible to run Apache instead of Nginx?
from homestead-docker.
Change the provision script accordingly. then configure your virtual host, and you're good to go.
Or find another project offering the stack as a docker container.
from homestead-docker.
Related Issues (20)
- Is is possible to change the PHP version? HOT 1
- 413 Request Entity Too Large HOT 2
- How to connect MySQL WorkBench HOT 9
- Slow Mysql HOT 1
- SOAP missing HOT 1
- MongoDB HOT 1
- cant run serve.sh: permission denied HOT 2
- phpmyadmin HOT 2
- PHP 7.2 like in latest Homestead? HOT 1
- HTTPS for homestead HOT 1
- can you give me some example? HOT 1
- How to connect on mysql? HOT 2
- Upgrade PHP 7.2 HOT 2
- Nginx Sites-enabled problem HOT 2
- How to add Xdebug?
- homestead:php7.1 is running php 7.3.3 HOT 3
- Can`t connect to server : the connection was reset HOT 1
- Ubuntu 18.04 is there a plan to update? HOT 1
- Hello! HOT 3
- How to connect to database? 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 homestead-docker.