ntoporcov / iQbit

GNU General Public License v3.0
550 stars 45 forks source link

Create docker-compose.yml #71

Closed norahqueen closed 1 year ago

norahqueen commented 1 year ago

made a working docker-compose file

ntoporcov commented 1 year ago

I'm not all that familiar with docker. Should this really be in the root, not in the /server folder?

norahqueen commented 1 year ago

You could put it in the server folder and change the build context to ‘..’ if you wanted too. Putting it in the root just means it’s in the same directory as the Dockerfile that it’s building. It means you can clone the repository, cd into the root and use the “docker compose up -d” command to run the server. The -d flag just detaches the console so it’s running in the background.