Skip to content

JamFactoryApp/jamfactory-compose

Repository files navigation

jamfactory-compose

Development setup

  • Clone the repository to your desired location

    git clone https://github.com/JamFactoryApp/jamfactory-compose.git
  • If not already: Clone the following repositories to your desired location

    • JamFactoryApp/jamfactory-backend git clone https://github.com/JamFactoryApp/jamfactory-backend.git
    • JamFactoryApp/jamfactory-web git clone https://github.com/JamFactoryApp/jamfactory-web.git
    • JamFactoryApp/jamfactory-static git clone https://github.com/JamFactoryApp/jamfactory-static.git
  • Create a Spotify App on the Developer Dashboard

  • Create a .env file and fill out the information. See .env.example for an example .env file. Remember to also include the paths to the cloned repositories inside the .env file.

  • Create a users.acl file in the redis folder. Make sure to use the same password as in the .env file. See users.acl.example for an example users.acl file.

  • Create and start the development containers using docker-compose up -d

  • After successful startup, the JamFactoryApp is available under http://localhost:8080. Automatic reloading on code changes inside the JamFactoryApp/jamfactory-web and JamFactoryApp/jamfactory-static repositories is supported.

Production setup

  • Clone the repository to your desired location

    git clone https://github.com/JamFactoryApp/jamfactory-compose.git
  • Create a Spotify App on the Developer Dashboard

  • Create a .env file and fill out the information. See .env.example for an example .env file.

  • Create a users.acl file in the redis folder. Make sure to use the same password as in the .env file. See users.acl.example for an example users.acl file.

  • Create and start the production containers using docker-compose -f docker-compose.prod.yml up -d

  • After successful startup, the JamFactoryApp is available under http://localhost:8080. You need to setup a reverse proxy to tie the services together and make it available using HTTPS.

About

JamFactory docker-compose files for development and production environments

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages