CoolFace
Apppublic

shahzaibkh93/codevoyage-learn-to-code-with-style

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
docker-compose.yml46 linesDownload Raw Back to root
1```yaml2version: '3.8'3 4services:5  web:6    build: .7    ports:8      - "3000:3000"9    depends_on:10      - redis11      - db12    environment:13      - NODE_ENV=production14      - DATABASE_URL=postgres://user:password@db:5432/codevoyage15      - REDIS_URL=redis://redis:637916      - HUGGINGFACE_API_KEY=${HUGGINGFACE_API_KEY}17 18  db:19    image: postgres:1320    environment:21      - POSTGRES_USER=user22      - POSTGRES_PASSWORD=password23      - POSTGRES_DB=codevoyage24    volumes:25      - postgres_data:/var/lib/postgresql/data26 27  redis:28    image: redis:629 30  prometheus:31    image: prom/prometheus32    ports:33      - "9090:9090"34    volumes:35      - ./prometheus.yml:/etc/prometheus/prometheus.yml36 37  grafana:38    image: grafana/grafana39    ports:40      - "3001:3000"41    depends_on:42      - prometheus43 44volumes:45  postgres_data:46```