https://github.com/andy-preston/docker-synchweb
Docker container(s) for SynchWeb development
https://github.com/andy-preston/docker-synchweb
Last synced: 27 days ago
JSON representation
Docker container(s) for SynchWeb development
- Host: GitHub
- URL: https://github.com/andy-preston/docker-synchweb
- Owner: andy-preston
- Created: 2021-06-01T07:58:55.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T09:59:52.000Z (over 3 years ago)
- Last Synced: 2025-02-13T03:29:44.854Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Container(s) For SynchWeb Development
# Config
`database_config` in your top level directory (where this readme is)
needs to look something like this:dev:_USER_:_PASSWORD_:server.example.com:_DB_NAME_:3306
prod:_USER_:_PASSWORD_:server.example.com:_DB_NAME_:3306For the database config to work correctly, with the ssh tunnel, you should
make sure you've got no `$isp = ` or `$motd =` lines in your `app/config.php`There's also some config options in `env`
## Filesystem
This expects you to have an entry like this in your /etc/fstab
sshfs#[email protected]:/dls /media/dls fuse users,noauto,allow_other,default_permissions,idmap=user,uid=1000 0 0
# Running
At the moment, this is all very much in a state of "it works on my machine"...
## backend
../docker/php/start shell bash
../docker/php/start backend PHP dev. server
../docker/php Run PHP with params
../docker/phpcs Run PHP Code Sniffer
../docker/phpmd Run PHP Mess Detector## frontend
../docker/js/start shell bash
../docker/js/start frontend Webpack dev. server## mariadb command line
../docker/mariadb/start