rra-postgis:
  image: mdillon/postgis
  ports:
    - 5432:5432
  environment:
    POSTGRES_PASSWORD: rra
    POSTGRES_USER: rra
    POSTGRES_DB: rra
  volumes:
    - /var/lib/postgresql/data:/var/lib/postgresql/data
rra-api:
  image: wbtransport/rra-api
  ports:
    - 80:4000
  command: node index.js
  links:
    - rra-postgis
rra-postgis:
  image: mdillon/postgis
  ports:
    - 5432:5432
  environment:
    POSTGRES_PASSWORD: rra
    POSTGRES_USER: rra
    POSTGRES_DB: rra
  volumes:
    - /var/lib/postgresql/data:/var/lib/postgresql/data
rra-api:
  image: wbtransport/rra-api
  ports:
    - 80:4000
  command: node index.js
  volumes:
    - /var/run/docker.sock:/var/run/docker.sock
  links:
    - rra-postgis
Add volume to ECS config
Add volume to ECS config
