version: "3"
services:
    postgres:
        image: postgres
        volumes:
            - "./data/postgres:/var/lib/postgresql/data"
        environment:
            - POSTGRES_USER=prest
            - POSTGRES_DB=prest
            - POSTGRES_PASSWORD=prest
        ports:
            - "5432:5432"
    prest:
        # use latest build - analyze the risk of using this version in production
        image: prest/prest
        links:
            - "postgres:postgres"
        environment:
            - PREST_DEBUG=false
            - PREST_AUTH_ENABLED=true
            - PREST_PG_HOST=postgres
            - PREST_PG_USER=prest
            - PREST_PG_PASS=prest
            - PREST_PG_DATABASE=prest
            - PREST_PG_PORT=5432
            - PREST_PSSL_MODE=disable
        depends_on:
            - postgres
        ports:
            - "3000:3000"

version: "3"
services:
    postgres:
        image: postgres
        volumes:
            - "./data/postgres:/var/lib/postgresql/data"
        environment:
            - POSTGRES_USER=prest
            - POSTGRES_DB=prest
            - POSTGRES_PASSWORD=prest
        ports:
            - "5432:5432"
    prest:
        # use latest build - analyze the risk of using this version in production
        image: prest/prest
        links:
            - "postgres:postgres"
        environment:
            - PREST_DEBUG=false
            - PREST_AUTH_ENABLED=true
            - PREST_PG_HOST=postgres
            - PREST_PG_USER=prest
            - PREST_PG_PASS=prest
            - PREST_PG_DATABASE=prest
            - PREST_PG_PORT=5432
            - PREST_SSL_MODE=disable
        depends_on:
            - postgres
        ports:
            - "3000:3000"

Fix typo in PREST_SSL_MODE environment variable name.
Fix typo in PREST_SSL_MODE environment variable name.

Signed-off-by: Fabrízio de Royes Mello <b43aa4da7d49446458a27682d03373956825fb53@gmail.com>
