# Common Docker Container configuration
version: "2"
services:
  portainer:
    image: portainer/portainer-ce
    container_name: portainer_datosabiertos2
    ports:
      - "9000:9000"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - dst_portainer_volume_dkan:/data
    restart: always

  phpmyadmin:
    image: phpmyadmin/phpmyadmin:5.2.1
    restart: always
    environment:
      PMA_HOST: db
      PMA_USER: root
      PMA_PASSWORD: admin123
    ports:
      - "8081:80"
  
volumes:
  dst_portainer_volume_dkan:
