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 volumes: - ./docker/etc/redis.conf:/etc/redis.conf command: "/usr/local/bin/redis-server /etc/redis.conf" ports: - 6379:6379 networks: - vegvisir-network networks: vegvisir-network: driver: bridge