Skip to content

JuliaPluto/docker-compose-slider-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploying PlutoSliderServer with Docker (compose)

  1. Make a cool pluto notebook! 🎉
  2. Find a server you can run on the internet (that has an IPv4) (your.domain.net)
  3. Find a domain name and make it point to your.domain.net
  4. Install docker (Installation instructions) on your server
  5. Build the docker container with the Dockerfile attached here
docker build -t pluto-slider-server .
  1. In nginx.conf, change the your.domain.com domain to your domain
  2. In compose.yaml, change the you@your.domain.net to your@email.com and the domains to your domains (needs -d domain.com). You can add more than one domain, but make sure to use the first domain as a folder name in nginx.conf
  3. Comment out the SSL files from the nginx.conf file
  4. Run docker compose up once, let certbot create certificates initially
  5. Control+C, then uncomment the SSL files from the nginx.conf file to actually load the certificates.
  6. Change the compose.yaml to point to the corrent git folder (instead of your-folder-with-git-and-notebooks) with Pluto notebooks that you want to deploy
  7. Make sure docker will run on startup: usually sudo systemctl enable docker
  8. Run docker compose up -d to start the services orchestra in the background
  9. Push changes to your repo to see them updating!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published