Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jokesterfr/docker-prestashop
Quickly bootstrap a local and broadly shareable prestashop instance with docker-compose.
https://github.com/jokesterfr/docker-prestashop
docker ngrok prestashop
Last synced: 1 day ago
JSON representation
Quickly bootstrap a local and broadly shareable prestashop instance with docker-compose.
- Host: GitHub
- URL: https://github.com/jokesterfr/docker-prestashop
- Owner: jokesterfr
- License: mit
- Created: 2021-01-26T08:29:14.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-17T11:02:20.000Z (over 2 years ago)
- Last Synced: 2024-12-18T09:21:40.474Z (about 2 months ago)
- Topics: docker, ngrok, prestashop
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-prestashop
Quickly bootstrap a local and broadly shareable prestashop instance with docker-compose.
## Requirements
- [docker](https://docs.docker.com/get-docker/)
- [docker-compose](https://docs.docker.com/compose/install/)
- (optional) an [ngrok](https://ngrok.com/) account## Usage
(Optional) if you have an ngrok account, fill your token in `.env`:
```bash
cp .env.dist .env
edit .env
```> Note: without authentication your ngrok session will last only 2h.
Run the server:
```bash
alias dc="docker-compose" # you may store this in ~/.bash_aliases and source ~/.bashrc
dc down && dc up -d
```Wait a few minutes and your server will be up, ready to be used from http://localhost:8000/ (will redirect you to a public url like `http://xxxxxxxxxxxx.ngrok.io`).
> Pro tip: to get more information on your ngrok instance go to http://localhost:4040.
Go to http://localhost:8000/admin-test/ to access to your back office, and login with the above credentials:
* login: [email protected]
* password: prestashop_demo## Ressources
- https://hub.docker.com/r/prestashop/prestashop
- https://hub.docker.com/r/wernight/ngrok## What's next
Some ideas for the future:
- enhance performances: https://github.com/PrestaShop/performance-project
- propose a custom Docker image based on:
* php-fpm / apache or nginx
* SQLite
- get cleaner docker logs, and add an output for ngrok client info
- add mailHog support https://github.com/mailhog/MailHog
- add settings to support HTTPS (with self-signed certs or Let's encrypt) or basic HTTP