version: '2'

volumes:
  redis-data:
    driver: local

services:
  server:
    image: "quay.io/bionano/mdtapps_server:${VERSION}"
    ports:
      - "4000:4000"
    environment:
      PORT: "4000"
      CCC: "internal-lb.${BNR_ENVIRONMENT}.bionano.bio:9000"
    logging:
      driver: json-file
    links:
      - redis

  redis:
    restart: always
    ports:
      #Don't expose this port to the host, only linked containers.
      - "6379"
    volumes:
      - ./server/etc/redis/redis.conf:/usr/local/etc/redis/redis.conf
      # This is the where the db will be writting. It is defined in ./server/etc/redis/redis.conf
      - redis-data:/data

version: '2'

volumes:
  redis-data:
    driver: local

services:
  server:
    image: "quay.io/bionano/mdtapps_server:${VERSION}"
    ports:
      - "4000:4000"
    environment:
      PORT: "4000"
      CCC: "ccc.bionano.autodesk.com:9000"
    logging:
      driver: json-file
    links:
      - redis

  redis:
    restart: always
    ports:
      #Don't expose this port to the host, only linked containers.
      - "6379"
    volumes:
      - ./server/etc/redis/redis.conf:/usr/local/etc/redis/redis.conf
      # This is the where the db will be writting. It is defined in ./server/etc/redis/redis.conf
      - redis-data:/data

Use the public CCC version for now
Use the public CCC version for now
