Skip to content

Commit

Permalink
add evershop
Browse files Browse the repository at this point in the history
  • Loading branch information
l4rm4nd committed Nov 7, 2023
1 parent 5f6d4bf commit e9d732e
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ docker compose up
- [HedgeDoc](examples/hedgedoc) - HedgeDoc lets you create real-time collaborative markdown notes.
- [YOURLS](examples/yourls) - The de-facto standard self hosted URL shortener in PHP.

### Publishing, Writing, Blogging, Hosting
### Publishing, Writing, Blogging, Hosting, E-Commerce
- [Ghost](examples/ghost) - Ghost is a free and open source blogging platform written in JavaScript and distributed under the MIT License, designed to simplify the process of online publishing for individual bloggers as well as online publications.
- [WordPress](examples/wordpress) - WordPress is a free and open-source content management system written in hypertext preprocessor language and paired with a MySQL or MariaDB database with supported HTTPS.
- [Nginx + PHP](examples/nginx-php) - Nginx is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. Combined with PHP, a general-purpose scripting language geared toward web development, server-side functions can be implemented for the webs.
Expand All @@ -172,6 +172,7 @@ docker compose up
- [Reactive-Resume](examples/rxresume) - A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever.
- [Monkeytype](examples/monkeytype) - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
- [HedgeDoc](examples/hedgedoc) - HedgeDoc lets you create real-time collaborative markdown notes.
- [EverShop](examples/evershop) - EverShop is a GraphQL Based and React ecommerce platform with essential commerce features. Built with React, modular and fully customizable.

### Analytics
- [Matomo](examples/matomo) - Matomo is the leading Free/Libre open analytics platform.
Expand Down
18 changes: 18 additions & 0 deletions examples/evershop/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# References

- https://github.com/evershopcommerce/evershop
- https://evershop.io/docs/development/getting-started/installation-guide

# Notes

After spawning up the docker containers, the webshop will be available on http://127.0.0.1:3000.

You can access the admin dashboard at /admin. You must create a new admin user by Docker exec as follows:

````
# exec into the evershop container
docker exec -it evershop sh
# creating a new admin user
npm run user:create -- --email "[email protected]" --password "MySuperSecurePassword" --name "MyName"
````
48 changes: 48 additions & 0 deletions examples/evershop/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: '3.8'

services:

app:
image: evershop/evershop:latest
container_name: evershop
restart: always
environment:
DB_HOST: database
DB_PORT: 5432
DB_PASSWORD: postgres
DB_USER: postgres
DB_NAME: postgres
depends_on:
- database
ports:
- 3000:3000
expose:
- 3000
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.evershop.rule=Host(`shop.example.com`)
# - traefik.http.services.evershop.loadbalancer.server.port=3000
# # Part for optional traefik middlewares
# - traefik.http.routers.evershop.middlewares=local-ipwhitelist@file,authelia@docker

database:
image: postgres:16
container_name: evershop-db
restart: unless-stopped
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/evershop/psqldata:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
expose:
- 5432
#networks:
# - proxy

#networks:
# proxy:
# external: true

0 comments on commit e9d732e

Please sign in to comment.