nate-sd

Oh no. Confusing people at cons. Great blog post though.

nate-sd

Not yet, I had an idea for this for my old code I built in SS3, that i'm slowly making into react.

nate-sd
  • Version 3.3
  • Force mysql 5.7
  • removed
    1. volumes:
    2. db-data:

And it was happy @taoceanz

nate-sd

Anyone have any idea when. https://github.com/silverstripe/silverstripe-restfulserver

Will have the PUT POST and DELETE added

Show 1 attachment(s)
GitHub  
silverstripe/silverstripe-restfulserver

RestfulServer module for SilverStripe CMS. Contribute to silverstripe/silverstripe-restfulserver development by creating an account on GitHub.

Hide attachment content
nate-sd

Seemed to be mysql issues.

Got it working with this in the end.

  1. version: '3.3'
  2. services:
  3. web:
  4. image: brettt89/silverstripe-web:7.1-platform
  5. working_dir: /var/www
  6. ports:
  7. - 8080:80
  8. volumes:
  9. - .:/var/www/html
  10.  
  11. database:
  12. image: mysql:5.7
  13. volumes:
  14. - ./mysql:/var/lib/mysql
  15. restart: always
  16. environment:
  17. MYSQL_ROOT_PASSWORD: dev_passwd
nate-sd
  1. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  2. 377b9e4ef821 brettt89/silverstripe-web:7.1-platform "docker-php-entrypoi…" 17 minutes ago Up 17 minutes 0.0.0.0:8080->80/tcp ssdockertest_web_1
  3. e0032f76a391 mysql "docker-entrypoint.s…" 17 minutes ago Up 17 minutes 3306/tcp, 33060/tcp ssdockertest_database_1
nate-sd
  1. # DB credentials
  2. SS_DATABASE_CLASS="MySQLPDODatabase"
  3. SS_DATABASE_SERVER="mysql"
  4. SS_DATABASE_USERNAME="root"
  5. SS_DATABASE_PASSWORD=""
  6. SS_DATABASE_NAME="SS_mysite"