Spaces:
Configuration error
Configuration error
| services: | |
| postgres: | |
| image: postgres:15-alpine | |
| container_name: gmail2_postgres | |
| restart: always | |
| environment: | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: postgres | |
| POSTGRES_DB: gmail2 | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - pgdata:/var/lib/postgresql/data | |
| mongodb: | |
| image: mongo:6-jammy | |
| container_name: gmail2_mongodb | |
| restart: always | |
| ports: | |
| - "27017:27017" | |
| volumes: | |
| - mongodata:/data/db | |
| redis: | |
| image: redis:7-alpine | |
| container_name: gmail2_redis | |
| restart: always | |
| ports: | |
| - "6379:6379" | |
| prometheus: | |
| image: prom/prometheus:latest | |
| container_name: gmail2_prometheus | |
| restart: always | |
| volumes: | |
| - ./prometheus.yml:/etc/prometheus/prometheus.yml | |
| ports: | |
| - "9090:9090" | |
| depends_on: | |
| - postgres | |
| grafana: | |
| image: grafana/grafana:latest | |
| container_name: gmail2_grafana | |
| restart: always | |
| ports: | |
| - "3001:3000" | |
| depends_on: | |
| - prometheus | |
| volumes: | |
| - grafanadata:/var/lib/grafana | |
| volumes: | |
| pgdata: | |
| mongodata: | |
| grafanadata: | |