Skip to content
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

remove extra redis and move to using built images for examples #620

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/docker-without-nfs/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock:ro"

conda-store-worker:
build: ../../conda-store-server
image: quansight/conda-store-server
user: 1000:1000
volumes:
- conda_store_data:/opt/conda-store/
Expand All @@ -48,7 +48,7 @@ services:
]

conda-store-server:
build: ../../conda-store-server
image: quansight/conda-store-server
user: 1000:1000
labels:
- "traefik.enable=true"
Expand Down Expand Up @@ -81,7 +81,7 @@ services:
- "5000:5000"

jupyterhub:
build: ../../conda-store
build: quansight/conda-store
labels:
- "traefik.enable=true"
- "traefik.http.routers.jupyterhub.rule=Host(`conda-store.localhost`) && (Path(`/`) || PathPrefix(`/hub`) || PathPrefix(`/user`))"
Expand Down
17 changes: 3 additions & 14 deletions examples/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
- conda_store_data:/opt/conda-store/

conda-store-worker:
build: ../../conda-store-server
image: quansight/conda-store-server
user: 1000:1000
volumes:
- conda_store_data:/opt/conda-store/
Expand All @@ -55,7 +55,7 @@ services:
command: ['conda-store-worker', '--config', '/etc/conda-store/conda_store_config.py']

conda-store-server:
build: ../../conda-store-server
image: quansight/conda-store-server
user: 1000:1000
labels:
- "traefik.enable=true"
Expand All @@ -81,19 +81,8 @@ services:
ports:
- "5000:5000"

redis:
image: redis:6.2-alpine
restart: always
ports:
- '6379:6379'
command: redis-server --save 20 1 --loglevel debug
healthcheck:
test: ["CMD", "redis-cli","ping"]
volumes:
- redis:/etc/redis

jupyterhub:
build: ../../conda-store
image: quansight/conda-store
labels:
- "traefik.enable=true"
- "traefik.http.routers.jupyterhub.rule=Host(`conda-store.localhost`) && (Path(`/`) || PathPrefix(`/hub`) || PathPrefix(`/user`))"
Expand Down
Loading