Skip to content

Websites created with craftman cannot be migrated #16

@nicbou

Description

@nicbou

I hoped to get an environment started with Craft, then just move the whole website to production when it's ready. The main promise of docker is that you have consistent, portable application environments. However, it seems like Craftman hardcodes a lot of information and is not really deployment-friendly.

  • The port is hard-coded in the docker file and config. It's different in development because of Brand new install just won't load (timeout) #15
  • Debug mode is hard-coded to ON in the docker file
  • Unless the directories have specially crafted permissions, Apache will silently fail because it can't read the .htaccess file.
  • Once the permissions are fixed, I just get a "Service Unavailable" page. The rest of the website is missing.

In the end, I decided to use Craftman to recreate an empty site in production, but then I hit #3. I'm not sure if I am using Craftman correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions