Q-Con / qcacher

eSports & Gaming CDN cache service
19 stars 4 forks source link

Which images did u use? #14

Open ekhoury2000 opened 7 years ago

ekhoury2000 commented 7 years ago

Hi @Stealthii @crobinson898 ,

I just wanted to test the qcatcher but i wanted to know which files did u use for the below(which repositories):

Thanks in advance,

Elie

Stealthii commented 7 years ago

Hi Elie,

They are custom images, built by docker-compose when you start the project. You should have a look at the compose file, and the individual Dockerfiles for each component of the project. I suggest having a look at the Getting Started section that covers a basic running version of the service.

ekhoury2000 commented 7 years ago

Hi @Stealthii

Thanks for the info, i got it up and running. Any way i can redirect the cache directory?

if you could let me know where are the caching directories i can try a few things.

Also, any way to set the images to autostart with the server? Thanks in advance,

Stealthii commented 7 years ago

If you look at the docker-compose file, you'll see /srv is being created as a volume. If you want to direct that to somewhere on the Docker host's file system, simply change the parameters (lets say you wanted to mount it where /srv is on the host system, you'd simply set this as:

- /srv:/srv

The size of the cache is currently optimised for a 1TB data store. It is defined at nginx/config/conf.d/02_caches - feel free to tweak it it you want - this will be configurable in future.

For auto-starting with the server, you could look into container transform to convert the compose file into a systemd file, or you could simply add your docker-compose command to your system startup / crontab commands.


Bear in mind that the configuration given in the compose file, and this application in general, is given as an example, not a solution - I recommend reading up on Docker, Docker Compose, and system container management as these will better answer your questions on how to run a service than this project will.