laravel / sail

Docker files for running a basic Laravel application.
https://laravel.com/docs/sail
MIT License
1.67k stars 477 forks source link

Adding SingleStoreDB #598

Closed lstables closed 1 year ago

lstables commented 1 year ago

Sail Version

1.14

Laravel Version

9.19

PHP Version

8.1.4

Operating System

macOS

OS Version

ventura

Description

We are using SingleStoreDB, and we wanted to run Sail to run the app.

So after searching around I couldn’t find anything worth, so I started playing and came up with:

 singlestore:
        image: 'ghcr.io/singlestore-labs/singlestoredb-dev:latest'
        ports:
            - '${FORWARD_DB_PORT:-3306}:3306'
            - '${FORWARD_MEMSQL_PORT:-8080}:8080'
        environment:
          SINGLESTORE_LICENSE: '${SINGLESTOREDB_LICENSE}'
          START_AFTER_INIT: 'Y'
          ROOT_PASSWORD: '${DB_PASSWORD}'
        networks:
            - sail

In the docker-compose.yaml file, which seems to work and I have it working locally, however I do see this error:

singlestore The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

I was kinda hoping you could add this as an option to Sail for people in the community to use.

I would have submitted a PR but think it's worth while discussing an whether or not it's something already in the pipeline.

Many Thanks :)

Steps To Reproduce

see above

driesvints commented 1 year ago

Hi there. Right now we don't have plans for this ourselves. You can always attempt a PR to see if Taylor would accept it. Thanks!