Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephane-klein/medusa-hosting-playground
https://github.com/stephane-klein/medusa-hosting-playground
docker-compose hosting medusa playground self-hosted
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/stephane-klein/medusa-hosting-playground
- Owner: stephane-klein
- Created: 2023-03-17T15:04:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-20T15:46:53.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T04:26:46.911Z (9 months ago)
- Topics: docker-compose, hosting, medusa, playground, self-hosted
- Language: TypeScript
- Homepage:
- Size: 12.2 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Medusa hosting playground
This repository contains a environment that allows to test [Medusa](https://github.com/medusajs) deployment.
This installation is based in part on https://docs.medusajs.com/deployments/server/deploying-on-digital-ocean
```sh
$ docker compose up -d --wait medusa-backend
```Wait…
```sh
$ docker compose logs -f medusa-backend
...
medusa-hosting-playground-medusa-backend-1 | ✔ Indexing event emitted – 10ms
medusa-hosting-playground-medusa-backend-1 | - Creating server
medusa-hosting-playground-medusa-backend-1 | ✔ Server is ready on port: 9000 – 11ms
```Inject database seed:
```sh
$ docker compose exec medusa-backend medusa seed -f data/seed.json
``````sh
$ curl -X GET http://localhost:9000/store/products | jq
```Start [*Medusa admin*](https://github.com/medusajs/admin):
```sh
$ docker compose up -d --wait medusa-admin
```Go to http://localhost:7000
Login: `[email protected]`
Password: `supersecret`