Skip to content

Instantly share code, notes, and snippets.

@alikins
Created February 5, 2021 16:17
Show Gist options
  • Save alikins/37d342a75826a92ef60892944781cce4 to your computer and use it in GitHub Desktop.
Save alikins/37d342a75826a92ef60892944781cce4 to your computer and use it in GitHub Desktop.
dev/alikins/docker-compose.yml
COMPOSE_PROFILE=alikins
DEV_SOURCE_PATH='galaxy_ng'
---
version: "3.7"
services:
api:
env_file:
# - './insights/galaxy_ng.env'
- './standalone/galaxy_ng.env'
- './alikins/galaxy_ng.env'
volumes:
- './entrypoints.d:/entrypoints.d:z'
resource-manager:
env_file:
# - './insights/galaxy_ng.env'
- './standalone/galaxy_ng.env'
- './alikins/galaxy_ng.env'
volumes:
- './entrypoints.d:/entrypoints.d:z'
worker:
env_file:
# - './insights/galaxy_ng.env'
- './standalone/galaxy_ng.env'
- './alikins/galaxy_ng.env'
volumes:
- './entrypoints.d:/entrypoints.d:z'
content-app:
env_file:
# - './insights/galaxy_ng.env'
- './standalone/galaxy_ng.env'
- './alikins/galaxy_ng.env'
volumes:
- './entrypoints.d:/entrypoints.d:z'
postgres:
command: ["postgres", "-c", "log_min_duration_statement=10ms", "-c", "log_lock_waits=on", "-c", "log_min_messages=INFO", "-c", "log_line_prefix=%m %r "]
env_file:
- './common/postgres.env'
- './alikins/galaxy_ng.env'
# dev/alikins/Dockerfile
FROM localhost/galaxy_ng/galaxy_ng:base
COPY requirements/requirements.standalone.txt /tmp/requirements.standalone.txt
COPY requirements/requirements.alikins.txt /tmp/requirements.alikins.txt
RUN set -ex; \
pip install --no-cache-dir --requirement /tmp/requirements.standalone.txt; \
pip install --no-cache-dir --requirement /tmp/requirements.alikins.txt
# dev/entrypoints.d/pip_install.sh
echo '######## pip_install.sh ########'
pip install --upgrade --no-cache-dir rpdb epdb ptpython ipython
# requirements/requirements.alikins.in
alogging
color_bucket_logger
debugpy
django-extensions
epdb
ipython
logging_tree
prettyprinter
ptpython
ptvsd
pygments
pytest
sqlparse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment