peimelo/controlled_health_api

View on GitHub
Docker/docker-compose.yml

Summary

Maintainability
Test Coverage
version: '3'

services:
  web:
    build: .
    ports:
      - '3000:3000'
    volumes:
      - .:/usr/src/app
    env_file:
      - .env/development/database
      - .env/development/web
    depends_on:
      - database

  database:
    image: postgres
    env_file:
      - .env/development/database
    volumes:
      - db_data:/var/lib/postgresql/data
    ports:
      - '5433:5432'

volumes:
  db_data: