Free MLOps course from DataTalks.Club. Register here ๐๐ผ to get notified about the next cohort
docker pull library/postgres
docker run -d --name mlops-zoomcamp -p 5432:5432 --restart always postgres
podman run -d --name mlops-zoomcamp -p 5432:5432 --restart always postgres
skopeo inspect docker://docker.io/library/postgres:latest
oras pull postgres
docker compose up -d
version: '3.7'
volumes:
grafana_data: {}
networks:
front-tier:
back-tier:
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: example
ports:
- "5432:5432"
networks:
- back-tier
adminer:
image: adminer
restart: always
ports:
- "8080:8080"
networks:
- back-tier
- front-tier
grafana:
image: grafana/grafana-enterprise
user: "472"
ports:
- "3000:3000"
volumes:
- ./config/grafana_datasources.yaml:/etc/grafana/provisioning/datasources/datasource.yaml:ro
- ./config/grafana_dashboards.yaml:/etc/grafana/provisioning/dashboards/dashboards.yaml:ro
- ./dashboards:/opt/grafana/dashboards
networks:
- back-tier
- front-tier
restart: always