-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cleanup docker compose #533
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,11 @@ services: | |
- psql:/var/lib/postgresql/data | ||
#ports: | ||
#- 5432:5432 | ||
healthcheck: | ||
test: pg_isready -q -h db -p 5432 -U postgres | ||
interval: 5s | ||
timeout: 30s | ||
retries: 5 | ||
|
||
minio: | ||
image: minio/minio:RELEASE.2017-02-16T01-47-30Z | ||
|
@@ -42,7 +47,6 @@ services: | |
- redis | ||
- minio | ||
|
||
|
||
# The application server can also setup the database | ||
db_init: | ||
image: data61/anonlink-app:${TAG:-latest} | ||
|
@@ -54,18 +58,6 @@ services: | |
depends_on: | ||
- db | ||
|
||
# The dm admin | ||
db_admin: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we not need the db_admin any more? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suspect no one other than myself ever used it. It is useful to see the time queries take and see the locks on the database. Want me to put it in a |
||
image: dpage/pgadmin4 | ||
environment: | ||
- PGADMIN_DEFAULT_PASSWORD=rX%QpV7Xgyrz | ||
- PGADMIN_DEFAULT_EMAIL=brian@thorne.link | ||
depends_on: | ||
- db | ||
ports: | ||
- 5050:80 | ||
|
||
|
||
# A celery worker | ||
worker: | ||
image: data61/anonlink-app:${TAG:-latest} | ||
|
@@ -98,13 +90,13 @@ services: | |
PUBLIC_PORT: 8851 | ||
|
||
|
||
# A celery monitor. Useful for debugging but okay to remain | ||
# commented out for deployment. Access via the nginx container with url `/monitor` | ||
# A celery monitor. Useful for debugging. | ||
# celery_monitor: | ||
# image: quay.io/n1analytics/entity-app | ||
# image: data61/anonlink-app:${TAG:-latest} | ||
# depends_on: | ||
# - redis | ||
# entrypoint: celery flower -A entityservice.async_worker --basic_auth=n1:paillier --url_prefix=/ --port=8888 -Q celery,compute | ||
# - worker | ||
# command: celery flower -A entityservice.async_worker | ||
# ports: | ||
# - 8888:8888 | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is that for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they look pretty 🌹
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flower
is a celery monitoring tool - we have an example use in the docker-compose file (commented out).