sha256:b7ed40e1b2a33a10306369581348d2216ebdef2c6bf3eafc86fd6edad29b0dae
Last pushed
11 days by dcarbonsolutions
Type
Compose
Manifest digest
sha256:b7ed40e1b2a33a10306369581348d2216ebdef2c6bf3eafc86fd6edad29b0dae
services:
# 🔹 Redis service for Django Channels
redis:
image: redis:7-alpine
restart: always
expose:
- "6379"
volumes:
- redis_data:/data
networks:
- dcarbon_net
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
app:
build: .
image: dcarbonsolutions/dcarbon-onpremise:1.0.0
command: sh -c "sleep 10 && daphne -b 0.0.0.0 -p 8000 main.asgi:application"
ports:
- "8000:8000"
volumes:
- ../license_keys:/license_keys:ro
networks:
- dcarbon_net
environment:
- DJANGO_SETTINGS_MODULE=main.settings.onpremise
- LICENSE_FILE=/license_keys/license.json
- LICENSE_PUBLIC_KEY=/license_keys/license_public.pem
depends_on:
redis:
condition: service_healthy
networks:
dcarbon_net:
volumes:
redis_data:
docker compose -f oci://dcarbonsolutions/dcarbon-onpremise-compose:1.0.4 upUse the above command to pull and run the Compose file. Learn more.
Redis is the world’s fastest data platform for caching, vector search, and NoSQL databases.
Pulls
1B+
Stars
13630
Last Updated
about 8 hours