version: '3.7'

services:
    app:
        container_name: vegvisir_app
        build: .
        ports:
            - 8080:8080
        networks:
            - vegvisir-network
        links:
            - redis

    redis:
        container_name: vegvisir_redis
        image: redis:6.2-alpine
        ports:
            - 6379:6379
        networks:
            - vegvisir-network

networks: 
    vegvisir-network:
        driver: bridge