Public | Automated Build

Last pushed: 2 years ago
Short Description
The magic that powers selo.to
Full Description

seloto

Building

git push
docker build -t d3kod/seloto-build https://github.com/d3kod/seloto.git
docker push d3kod/seloto-build

Deploying

SSH into host and kill the runing seloto-website container. Very dirty.

An automated approach using AWS CodeDeploy in the works. Using http://blogs.aws.amazon.com/application-management/post/Tx33XKAKURCCW83/Automatically-Deploy-from-GitHub-Using-AWS-CodeDeploy as reference.

Running it locally

docker run --name seloto-mysql -e MYSQL_ROOT_PASSWORD=d0mat -d mysql:latest || docker start seloto-mysql
docker run --name seloto-website --volumes-from seloto-build --link seloto-mysql:mysql -e JAVA_OPTS='-Duser.timezone=GMT -DRDS_PORT=3306 -DRDS_HOSTNAME=$MYSQL_PORT_3306_TCP_ADDR -DRDS_USERNAME=root -DRDS_PASSWORD=d0mat' -d -p 8080:8080 d3kod/seloto-website || docker start seloto-website

Running it using ECS

Create a service which uses the defined tasks.

Docker Pull Command
Owner
d3kod
Source Repository