services:
  musicbrainz-cleaner:
    build: .
    container_name: musicbrainz-cleaner
    networks:
      - musicbrainz-network
    volumes:
      - ./data:/app/data
      - ./output:/app/output
      - .:/app
    environment:
      - DB_HOST=db
      - DB_PORT=5432
      - DB_NAME=musicbrainz_db
      - DB_USER=musicbrainz
      - DB_PASSWORD=musicbrainz
    command: ["python3", "simple_test.py"]

networks:
  musicbrainz-network:
    external: true
    name: musicbrainz-docker_default 