version: '3.1' services: db: image: mariadb restart: always environment: MARIADB_ROOT_PASSWORD: '39In1bx7' ports: - 3306:3306 volumes: - ./db_data:/var/lib/mysql phpmyadmin: image: phpmyadmin restart: always ports: - 8080:80 environment: - PMA_ARBITRARY=1