Skip to content

Commit

Permalink
relies on phoenix docker-compose for db, es
Browse files Browse the repository at this point in the history
  • Loading branch information
madoleary committed Jul 12, 2023
1 parent cd3383d commit 3170483
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3170483

Please sign in to comment.