mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 01:47:39 +00:00
c74ea28014
Updates unnecessary need to grant special privileges when running in Docker.
1.2 KiB
1.2 KiB
Docker
You will need:
docker(tested on Docker version 19.03.13-ce, build 4484c46d9d)make(not a strict requirement, but helps out with stages)docker-compose(tested on docker-compose version 1.27.4,)
What
It is assumed you know what docker is. You can build and run this project inside docker, headless. All the depencies will be downloaded in to the docker image.
Why
There is no need to install node, or anything else (apart from above) on your machine to run this.
How
- Copy pasta the
.env-examplein to.env. - Edit
.envin your favourite editor, pick stores, options what ever you want. - If you have make, simply run
makein your terminal to get started. You should see a docker build, and container start automatically. - If you want a webserver running, so you can edit the options via web interface, uncomment lines 13-14 in
docker-compose.ymlto open up ports7997. Update.envfileWEB_PORT="7997"this is so the service listens on7997and we expose the same ports on docker. - If you do not have make, because windows, run these commands in order:
docker-compose build streetmerchant-shop-bot docker-compose up