Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevRecD1 - Dockerise deployment #1163

Open
TheMadBug opened this issue Sep 9, 2024 · 1 comment
Open

DevRecD1 - Dockerise deployment #1163

TheMadBug opened this issue Sep 9, 2024 · 1 comment

Comments

@TheMadBug
Copy link
Member

Create a docker container for VariantGrid for easier onboarding for new devs or people wishing to test the product.

Here is a docker settings file that Andrew Patto setup, note at this point it doesn't cover VEP - but we expect at a future date VEP etc can be managed via Mock Services that can be used at runtime not just during unit tests.

services:
  # the postgres db is used for storing variant information and various runtime info of the app
  postgres:
    image: postgres:alpine
    environment:
      POSTGRES_DB: snpdb
      POSTGRES_PASSWORD: xxxx
      POSTGRES_USER: snpdb
    networks:
      - variantgrid-network-dev
    ports:
      - "5432:5432"
    expose:
      - 5432
    volumes:
      - variantgrid-postgres-dev:/var/lib/postgresql/data

  redis:
    image: redis:latest
    command: redis-server
    networks:
      - variantgrid-network-dev
    volumes:
      - redis-dev:/var/lib/redis
      - redis-config:/usr/local/etc/redis/redis.conf
    ports:
      - "6379:6379"
    expose:
      - 6379
#
#  rabbitmq:
#    image: rabbitmq:latest
#    networks:
#      - variantgrid-network-dev
#    ports:
#      - "5672:5672"
#    expose:
#      - 5672

  mailhog:
    image: mailhog/mailhog:latest
    restart: always
    ports:
      - 1025:1025
      - 8025:8025

volumes:
  redis-dev:
  redis-config:
  variantgrid-postgres-dev:

networks:
  variantgrid-network-dev:
    driver: bridge
@davmlaw
Copy link
Contributor

davmlaw commented Oct 16, 2024

Raised on personal TODO list to spend a day learning Docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants