Public Repository

Last pushed: 6 months ago
Short Description
Deployment of the server-side Swift sample from RWDevCon '17
Full Description

Get up and running

Before you start, make sure your EC2 instance has git, docker, and docker-compose installed.

  1. Log into your EC2 instance
  2. Run git clone https://github.com/raywenderlich/dockerized.git
  3. Update the .env file
  4. Run docker-compose pull
  5. Run docker-compose up -d db to start just PostgreSQL and let it complete it's first-launch initialization
  6. After a few seconds, run docker-compose up -d to spin up the webapp

From then on you can simply use docker compose up -d and docker compose down to manage the state of the containers.

Docker Pull Command
Owner
razeware

Comments (0)