ezXSS icon indicating copy to clipboard operation
ezXSS copied to clipboard

Provide example docker-compose for using the Docker Hub image

Open Flightkick opened this issue 4 years ago • 2 comments

  • Provide a docker-compose.hub.yml in the repo
  • Provide installation instructions for using the Docker hub image

Originally posted by @Flightkick in https://github.com/ssl/ezXSS/issues/80#issuecomment-800641410

Flightkick avatar Mar 16 '21 22:03 Flightkick

Added docker-compose.hub.yml in https://github.com/ssl/ezXSS/commit/973dd24a32c28cf4875368d850d130958612a689

Wiki still needs some instructions. What would be the correct way to set up using the hub?

ssl avatar Apr 27 '21 19:04 ssl

Sorry for the late reply, missed this message and unfortunately have been very busy lately.

IIRC, to use the Hub image the user needs to:

  • use the docker-compose.hub.yml file you linked
  • change the volume.assets.driver_opts.device directive in the docker-compose.hub.yml to an absolute path on the host machine where Docker would need to store the assets
  • create the .env file in the same directory as the docker-compose.hub.yml, sample below

Sample .env file:

dbHost="ezxss.db"
dbUser=ezxss
dbPassword=changeme
dbName=ezxss

Flightkick avatar Jul 23 '21 09:07 Flightkick