devgeniem / gdev

Helper script for developing containerized web applications.
https://devgeniem.github.io/gdev/
MIT License
29 stars 16 forks source link

Sync fails if the site name contains dashes in gdev create #45

Closed villesiltala closed 7 years ago

villesiltala commented 7 years ago

I created a new site with the gdev create wizard and set a site name that contained dashes. Sync failed because of replacements made into the template docker configuration files of wp-project. The dashes were removed in them. I put the dashes back in docker-composer.yml and docker-sync.yml, reloaded everything and the sync started to work.

Here is an example of a functioning sync config file:

version: "2"

options:
  verbose: true
syncs:
  my-site-name-with-dashes-sync:
    src: '.'
    host_disk_mount_mode: 'cached'
  my-site-name-with-dashes-uploads-sync:
    src: './.docker/uploads'
    host_disk_mount_mode: 'cached'
villepietarinen commented 7 years ago

This is now fixed