docker-compose.yml 357 Bytes
Newer Older
Odair M.'s avatar
Odair M. committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
version: '3'
services:
    db:
        image: postgres
        environment:
            - POSTGRES_USER=adega
            - POSTGRES_PASSWORD=adega
            - POSTGRES_DB=adega
    web:
        build: .

        volumes:
            - .:/adega
        ports:
            - "8000:8000"
        links:
            - db
        depends_on:
            - db