diff --git a/README.md b/README.md index e23ca9430..1f12dfdd5 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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. diff --git a/examples/evershop/README.md b/examples/evershop/README.md new file mode 100644 index 000000000..0046ef658 --- /dev/null +++ b/examples/evershop/README.md @@ -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 "myemail@example.com" --password "MySuperSecurePassword" --name "MyName" +```` \ No newline at end of file diff --git a/examples/evershop/docker-compose.yml b/examples/evershop/docker-compose.yml new file mode 100644 index 000000000..ca4eabe44 --- /dev/null +++ b/examples/evershop/docker-compose.yml @@ -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