Get Started with Satis Using Docker
In an effort to make my previous tutorial on how to set up a Satis server easier, I have created this tutorial aimed at docker users whereby you will only need to edit two small config files.
- Log into your server.
- Install docker if you haven't already.
- Download the tar.gz file I created.
Extract the file
tar --extract --gzip --file satis-server.tar.gz
Edit the config file and put in your SVN details.
Update the satis.json file with details of your packages.
Build the container and run it
cd satis-server/docker-satis/docker-satis bash build.sh bash start-container.sh
Optional - Firewall
Satis should just be acting as a directory/pointer service and not actually hosting code of its own, so there should be no need to lock it off. (I need to double check this). However, if you wish to lock it off, I would suggest using an IP based firewall using iptables or UFW.
iptables -A INPUT -s xxx.xxx.xxx.xxx/32 -p tcp -j ACCEPT
Thats it! You now have a docker container running your Satis server.
First published: 16th August 2018