docker-compose.yml 583 Bytes
version: "3"
services:
  postgres:
    image: "postgres:alpine"
    environment:
      - POSTGRES_USER=khudrive
      - POSTGRES_PASSWORD=4REPwb7y4CLtQaTv4PNeWRJeGLbHXn
      - POSTGRES_DB=khudrive
    ports:
      - "35432:5432"
    volumes:
      - ./docker/postgres:/var/lib/postgresql/data/
  minio:
    image: "minio/minio"
    entrypoint: sh
    command: -c "mkdir -p /data/bucket && /usr/bin/minio server /data"
    environment: 
      - MINIO_ACCESS_KEY=access_key
      - MINIO_SECRET_KEY=secret_key
    ports:
      - "39000:9000"
    volumes: 
      - ./docker/minio:/data