weacast/weacast-loader

View on GitHub
docker-compose.yml

Summary

Maintainability
Test Coverage
version: '2'

services:
  weacast-arpege-world:
    build:
      context: .
      dockerfile: dockerfile.arpege-world
    container_name: weacast-arpege-world
    image: weacast/weacast-arpege:world-latest
    links:
      - mongodb-weacast:mongodb
    networks:
      - weacast
    environment:
      - DB_URL=mongodb://mongodb:27017/weacast
      - METEO_FRANCE_TOKEN
      - UPPER_LIMIT
      - S3_ACCESS_KEY
      - S3_SECRET_ACCESS_KEY
      - S3_BUCKET
      - S3_ENDPOINT
  weacast-arpege-europe:
    build:
      context: .
      dockerfile: dockerfile.arpege-europe
    container_name: weacast-arpege-europe
    image: weacast/weacast-arpege:europe-latest
    links:
      - mongodb-weacast:mongodb
    networks:
      - weacast
    environment:
      - DB_URL=mongodb://mongodb:27017/weacast
      - METEO_FRANCE_TOKEN
      - UPPER_LIMIT
      - S3_ACCESS_KEY
      - S3_SECRET_ACCESS_KEY
      - S3_BUCKET
      - S3_ENDPOINT
  weacast-arome-france:
    build:
      context: .
      dockerfile: dockerfile.arome-france
    container_name: weacast-arome-france
    image: weacast/weacast-arome:france-latest
    links:
      - mongodb-weacast:mongodb
    networks:
      - weacast
    environment:
      - DB_URL=mongodb://mongodb:27017/weacast
      - METEO_FRANCE_TOKEN
      - UPPER_LIMIT
      - S3_ACCESS_KEY
      - S3_SECRET_ACCESS_KEY
      - S3_BUCKET
      - S3_ENDPOINT
  weacast-arome-france-high:
    build:
      context: .
      dockerfile: dockerfile.arome-france-high
    container_name: weacast-arome-france-high
    image: weacast/weacast-arome:france-high-latest
    links:
      - mongodb-weacast:mongodb
    networks:
      - weacast
    environment:
      - DB_URL=mongodb://mongodb:27017/weacast
      - METEO_FRANCE_TOKEN
      - UPPER_LIMIT
      - S3_ACCESS_KEY
      - S3_SECRET_ACCESS_KEY
      - S3_BUCKET
      - S3_ENDPOINT
  weacast-gfs-world:
    build:
      context: .
      dockerfile: dockerfile.gfs-world
    container_name: weacast-gfs-world
    image: weacast/weacast-gfs:world-latest
    links:
      - mongodb-weacast:mongodb
    networks:
      - weacast
    environment:
      - DB_URL=mongodb://mongodb:27017/weacast
      - UPPER_LIMIT
      - S3_ACCESS_KEY
      - S3_SECRET_ACCESS_KEY
      - S3_BUCKET
      - S3_ENDPOINT
  mongodb-weacast:
    container_name: mongodb-weacast
    image: mongo:3
    ports:
      - 27017:27017
    volumes:
      - mongodb_weacast:/data/db
    networks:
      - weacast

volumes:
  mongodb_weacast:

networks:
  weacast: