Name: dockerized
Owner: raywenderlich
Description: Deployment of the server-side Swift sample from RWDevCon '17
Created: 2017-03-06 09:23:11.0
Updated: 2017-03-22 05:10:32.0
Pushed: 2017-03-06 11:30:15.0
Homepage: http://www.rwdevcon.com
Size: 4
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Before you start, make sure your EC2 instance has git
, docker
, and docker-compose
installed.
git clone https://github.com/raywenderlich/dockerized.git
.env
filedocker-compose pull
docker-compose up -d db
to start just PostgreSQL and let it complete it's first-launch initializationdocker-compose up -d
to spin up the webappFrom then on you can simply use docker compose up -d
and docker compose down
to manage the state of the containers.