diff --git a/docker-compose.yml b/docker-compose.yml index 4d6ff7de7bd..b02f5d3dc94 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,40 +1,11 @@ version: '3' services: - db: - image: postgres:11.5-alpine - container_name: db - hostname: db - ports: - - '127.0.0.1:5432:5432' - healthcheck: - test: ["CMD", "pg_isready", "-U", "postgres"] - interval: 1s - environment: - POSTGRESQL_ROOT_PASSWORD: dbrootpassword - volumes: - # Will use db volume and inside to path /var/lib/mysql - - db:/var/lib/postgresql/data - networks: - - dbs - elasticsearch: - image: hypothesis/elasticsearch:latest - ports: - - '127.0.0.1:9200:9200' - environment: - - discovery.type=single-node - networks: - - elasticsearch rabbit: image: rabbitmq:3.6-management-alpine ports: - '127.0.0.1:5672:5672' - '127.0.0.1:15672:15672' -volumes: - # Creates persistent storage volume for database - # Specify name so it does not append stack name in front - db: - name: db networks: # This external network allows FDW connections between H, LMS and report DBs. # To avoid having unnecessary dependencies between the projects