Docker containers used for spinning up different Swift web frameworks
- Very few commands to spin up a development container
- Great for getting other team members setup
- Don't need to install framework dependencies on your host OS
- ex:
Epoch
needslibvenice
,http-parser
, anduri-parser
- Because you don't have to spend 8 hours doing this same thing that I had to do 😇
- Clone/fork repo
- Run Swifta
cd swiftra
docker-compose build
docker-compose up
- This rebuilds the project (by usingswift build
) and then runs the build - Rerun this command after making changes to the project- Hit machine url on port 8080 - ex: http://192.168.99.100:8080
- Run Epoch
cd epoch
docker-compose build
docker-compose up
- This rebuilds the project (by usingswift build
) and then runs the build - Rerun this command after making changes to the project- Hit machine url on port 8080 - ex: http://192.168.99.100:8080