Skip to content

Commit

Permalink
Remove the need for a data folder within user directory (#195)
Browse files Browse the repository at this point in the history
Closes #189
  • Loading branch information
costrouc authored Oct 20, 2021
1 parent 00d7299 commit 0a57873
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
version: "2"

volumes:
conda_store_data:

services:
conda-store-worker:
build: ../../conda-store-server
depends_on:
- "postgres"
- "minio"
volumes:
- ./data:/opt/conda-store/
- conda_store_data:/opt/conda-store/
- ./assets/conda_store_config.py:/etc/conda-store/conda_store_config.py:ro
platform: linux/amd64
command: ["wait-for-it", "conda-store-server:5000", "-t", "60", '--', 'conda-store-worker', '--config', '/etc/conda-store/conda_store_config.py']
Expand All @@ -28,7 +31,7 @@ services:
build: ../../conda-store
user: "1000:1000"
volumes:
- ./data:/opt/conda-store
- conda_store_data:/opt/conda-store
- ./assets/condarc:/etc/conda/condarc:ro
- ./assets/jupyter_notebook_config.py:/etc/jupyter/jupyter_notebook_config.py:ro
- ./assets/jupyterhub_config.py:/opt/jupyterhub/jupyterhub_config.py:ro
Expand Down

0 comments on commit 0a57873

Please sign in to comment.