version: "3.1"

secrets:
  aws_access_key:
    external: true
  aws_secret_access_key:
    external: true

services:
  web:
    image: ezmiller/datemo-nginx-proxy:latest
    ports:
      - "80:80"

  datemo:
    image: ezmiller/datemo:latest
    depends_on:
      - web
    ports:
      - "8080:8080"
    environment:
      - DATEMO_DB_URI=datomic:ddb://us-east-1/datemo/datemo
      - VIRTUAL_HOST=138.197.7.39
    secrets:
      - aws_access_key
      - aws_secret_access_key


version: "3.1"

secrets:
  aws_access_key:
    external: true
  aws_secret_access_key:
    external: true

services:
  web:
    image: ezmiller/datemo-nginx-proxy:latest
    ports:
      - "80:80"

  datemo:
    image: ezmiller/datemo:latest
    depends_on:
      - web
    ports:
      - "8080:8080"
    environment:
      - DATEMO_DB_URI=datomic:ddb://us-east-1/datemo/datemo
      - VIRTUAL_HOST=54.145.19.85
    secrets:
      - aws_access_key
      - aws_secret_access_key


Update VIRTUAL_HOST to point to new m3.medium instance
Update VIRTUAL_HOST to point to new m3.medium instance
