version: '2'
services:
  database:
    image: postgres:10.16
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_USER=tuleva-onboarding
      - POSTGRES_PASSWORD=tuleva-onboarding
      - POSTGRES_DB=tuleva-onboarding

  nginx:
    image: nginx:latest
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf
      - ./nginx/fullchain.pem:/tmp/fullchain.pem
      - ./nginx/privkey.pem:/tmp/privkey.pem
      - ./nginx/id.crt:/tmp/id.crt
      - ./nginx/dhparam.pem:/tmp/dhparam.pem
      - ./etc/eb/.ebextensions/nginx/conf.d/01_ssl_proxy.conf:/etc/nginx/conf.d/01_ssl_proxy.conf
    ports:
      - 80:80
      - 443:443

version: '2'
services:
  database:
    image: postgres:13-alpine
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_USER=tuleva-onboarding
      - POSTGRES_PASSWORD=tuleva-onboarding
      - POSTGRES_DB=tuleva-onboarding

  nginx:
    image: nginx:latest
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf
      - ./nginx/fullchain.pem:/tmp/fullchain.pem
      - ./nginx/privkey.pem:/tmp/privkey.pem
      - ./nginx/id.crt:/tmp/id.crt
      - ./nginx/dhparam.pem:/tmp/dhparam.pem
      - ./etc/eb/.ebextensions/nginx/conf.d/01_ssl_proxy.conf:/etc/nginx/conf.d/01_ssl_proxy.conf
    ports:
      - 80:80
      - 443:443

Upgrade local Postgres to 13
Upgrade local Postgres to 13
